LATEST TRANSMISSIONS

ENCRYPTED // PUBLIC KEY DETECTED

FILTER: TAG [Ant design]
ONLINE
// Z.SHINCHVEN

Implement Options Search for Ant Design ProFormSelect

Learn how to implement options search for Ant Design ProFormSelect to make it easier for users to find the options they need.

// Z.SHINCHVEN

Tailoring Themes in Ant Design v5 with Umi Max

A step-by-step guide on personalizing the themes of Ant Design v5 and Umi Max.

// Z.SHINCHVEN

initialValue Changed in Ant Design Form

Problem initialValue can take effect when the form is initialized, but it will not take effect when it is changed. I'm building a form that can perform create and update operations. In create scenari…

// Z.SHINCHVEN

Hide Columns by Default with ProTable

ProComponents is a set of enterprise-class UI components based on Ant Design and React, it provides a lot of useful components and features out of the box. I've enjoyed building data table UI with Pro…

// Z.SHINCHVEN

使用 Ant Design ProComponents 开发表单省市区选择器

使用ProComponents中的ProFormCascader组件开发省、市、区级联选择器非常简单。 准备数据 首先我们需要准备省市区的数据,建议使用wecatch/china_regions这个仓库中的province.json、city.json、county.json三个文件。我把它们直接部署到了 web app 的 public 目录中当静态 API 使用。 整理数据结构 在前端通过网络…

// Z.SHINCHVEN

Reset Form Fields in Shared Ant Design Modal Form

I use shared ModelForm in my project for a selected target in multiple rows of data to keep good page rendering performance. But a shared ModelForm has a problem that it can't reset form fields after …

// Z.SHINCHVEN

Create A Custom Ant Design Form Item Component

Ant Design offers a robust and user-friendly form system, packed with an array of components for developers to utilize. Moreover, it allows developers to effortlessly create custom components that can…

// Z.SHINCHVEN

在React中异步设置组件的默认值

前提 在开发一个编辑功能的页面时,我们经常需要异步加载页面和待编辑的数据对象; 如果表单控件先以空数据加载好控件再异步加载异步IO的数据对象,那么像Checkbox(from antd)这样的基于状态的图形控件则无法文本输入控件一样重新初始化值(defaultChecked); 另外,如果将checked属性直接与数据对象的某个值绑定,会造成控件的状态无法变更问题,因为每次变更控件状态时,都会触…

// Z.SHINCHVEN

Use Ant Design Checkbox with getFieldDecorator

Error Form.getFieldDecorator is an Ant Design Form validation tool, it is used to wrapped input components and handle value and value validation. It is working fine with common component with a props …