field-form icon indicating copy to clipboard operation
field-form copied to clipboard

⚡️ React Performance First Form Component

Results 183 field-form issues
Sort by recently updated
recently updated
newest added

issue : demo website occur error description: - site: https://field-form.react-component.now.sh/ - ![image](https://github.com/react-component/field-form/assets/22117717/d5055f2a-803f-486d-bcbd-0d1899254094)

ref: https://github.com/react-component/field-form/pull/629#issuecomment-1801983107

I'm using form.resetFields() but the previous validation still remains. How can I reset it?

作为antd的深度使用者, 经常会用到这些内部的hooks shouldUpdate和notifyWatch会在任意表单字段变化时候触发, 在二次封装的时候经常会用到。比如这次实现配置化表单联动,需要知道触发值改变的是 **api调用 还是 用户输入**, 来实现循环联动的效果 之前通过修改源码实现过一版,但是这种方式毕竟不好,换个项目就用不了了,现在想把这个功能抽成插件,就这点实在是绕不开 而且这个api带出triggerName也很合理,求求了

https://field-form-react-component.vercel.app/ ![image](https://github.com/react-component/field-form/assets/76877078/503c331e-fe5f-4879-aaa7-ed7bda080bf8)

Hello, is there any way to get around the warning of needing a static path for useWatch with forms? ```bash Warning: `useWatch` is not support dynamic `namePath`. Please provide static...

Hi, Why are you changing the Fragment key each time there is a reset? In render of Field we have this: https://github.com/react-component/field-form/blob/e9184848e73a5e39fd2976826a7020328dba01ed/src/Field.tsx#L644 This is causing unwanted unmount/remount of the Field...

to fix this issues https://github.com/react-component/field-form/issues/601

当setFieldsValue设置回显值的时候,设置了数组结构中不存在的元素,在稍后的提交中这个多的元素还会存在,非数组结构就没有这个问题。 When using setFieldsValue to set the initial values for form fields, if you include an element that does not exist in the original data structure of an array, this...