form icon indicating copy to clipboard operation
form copied to clipboard

React High Order Form Component(web & react-native)

Results 104 form issues
Sort by recently updated
recently updated
newest added

The message may cause some [confuse](https://github.com/ant-design/ant-design/issues/8880), when you just pass some properties that dont match form fields to `setFieldsValue`

When I want to prevent code execution in the render method before the requested data is returned, I might return a null value directly. If this is after the `componentDidMount()`...

How to set error on nested value like:`vendor.name` I have tried to `this.props.form.setFields({vendor: {name: {errors: [new Error('forbid ha')] }}});` and `this.props.form.setFields({vendor.name: { errors: [new Error('forbid ha')] }});` both does not...

In the documentation of Ant's Form, there is an example where `validateFields` is being called without any argument (https://ant.design/components/form/#components-form-demo-horizontal-login) In this sandbox https://codesandbox.io/s/2wn69y7mqp when you open a console, you can...

这是需要动态增减的表单组件, 校验条件是不为空,且页面上的这个组件值不能重复:(其实就是将antd的动态增减表单项的代码拿来修改) ``` {getFieldDecorator(`keyword[${k}]`, { validateTrigger: ['onChange', 'onBlur'], rules: [{ validator: (rule, value, callback) => this.validateKeyword(rule, value, callback, k), }], initialValue: keywordList[k] && keywordList[k].keyword })( )}{ keys.length > 0 ?...

Is this possible? From what I am seeing, it is not. If not, any plans in supporting this? Thanks

Today test engineer report me a bug. I find RC-Form will cache validate result until next onChange event. But in my case, user can change validate rules. So it will...

I have dynamic fields set up as per the Ant Design example https://ant.design/components/form/#components-form-demo-dynamic-form-item However, I need to keep the form object to show another step of the submission process. Luckily,...

Using setFieldsValue on a form item sets the value of the component correctly, but does not trigger any events (e.g. onChange, onSelect, etc) on the component. Can we have setFieldsValue...