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

Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.3.1 to 19.0.0. Release notes Sourced from react's releases. 19.0.0 (December 5, 2024) Below is a list of all new features, APIs, deprecations, and breaking changes. Read...

dependencies
javascript

为什么不支持watch动态的路径呢?事实上我传一个动态的namePath,它似乎也能正常工作,只是代码里写了让它warnning。但如果我传了一个动态的selector,它不起效,selector会保持不变,我想是否因为这里effect没有依赖dependencies(when type is func)。所以为什么不加上这个依赖呢?然后不用ref来接受namePath,将namePath也放入依赖中,似乎这样就支持动态路径,而不必报错了。 ```js // in useWatch useEffect( () => { // Skip if not exist form instance if (!isValidForm) { return; } const { getFieldsValue, getInternalHooks } =...

如果组件有初始值: ```js initialValues = { test: { op: { name: 1, code: 2, }, } 执行 setFieldsValue({ op: { name: 33, }, }) 得到的结果为 test: { op: { name: 1,...