field-form
                                
                                 field-form copied to clipboard
                                
                                    field-form copied to clipboard
                            
                            
                            
                        ⚡️ React Performance First Form Component
In file *src/interface.ts* ,the implement of type ```RecursivePartial``` is incorrect. For example: ```typescript // mock nominal type type DomainId = string & { readonly __nominal: unique symbol; }; // TS...
When using a list where each item contains two fields you cannot use the object keys corresponding to the form fields Example of how I tried and failed ```tsx const...
The code works perfectly fine in the apps. However, when I tested it using Jest, it will always return error upon calling `form.validateFields()`. The sample error returned is ``` {...
demo地址https://field-form.react-component.vercel.app/demo/validate 导致bug代码段 ```js context => ({ validator(_, __, callback) { if (context.isFieldTouched('password2')) { context.validateFields(['password2']); callback(); return; } callback(); }, }), ```
### What I want? Adding new prop to Reinitialize form values once `initialValues` prop updated. ### Additional context [formik enableReinitialize](https://formik.org/docs/api/formik#enablereinitialize-boolean)
dumi
- [x] [field-form](https://github.com/react-component/field-form) 📍 https://github.com/react-component/field-form/pull/220 - [x] [dialog](https://github.com/react-component/dialog) 📍 https://github.com/react-component/dialog/pull/215 - [x] [table](https://github.com/react-component/table) 📍 https://github.com/react-component/table/pull/558 - [x] [slider](https://github.com/react-component/slider) 📍 https://github.com/react-component/slider/pull/720 - [x] [upload](https://github.com/react-component/upload) 📍 https://github.com/react-component/upload/pull/289 - [x] [picker](https://github.com/react-component/picker) 📍 https://github.com/react-component/picker/pull/186...
jsx code here: UserName Input Component here example 1: form.validateFields(['user']) -> it works example 2: form.validateFields(['user','name']) -> validate username doesn't work question: how to validate form value like {user:{name:'xxx'}}
This features is useful When I use dynamic form. Can we give one prop to control its action?
shouldUpdate设置为false时,renderProps依然会被触发 版本号:1.22.0 复现地址:https://codesandbox.io/s/relaxed-orla-y2ndi?file=/App.tsx