field-form
field-form copied to clipboard
⚡️ React Performance First Form Component
Hi `react-component/field-form`! This is a one-off automatically generated pull request from LGTM.com :robot:. You might have heard that we’ve integrated LGTM’s underlying CodeQL analysis engine natively into GitHub. The result...
close https://github.com/ant-design/ant-design/issues/48776 Form 组件 ref 增加原生from节点
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 52.0.0 to 53.0.0. Release notes Sourced from eslint-plugin-unicorn's releases. v53.0.0 New rules consistent-empty-array-spread (#2349) 8d7954c prefer-string-raw (#2339) 4f1400a no-invalid-fetch-options (#2338) 342aafb no-magic-array-flat-depth (#2335) bc17428 prefer-structured-clone (#2329) 497519e...
## 复现代码 codesandbox: https://codesandbox.io/p/sandbox/antd-resetfields-bug-ys6zp2 ```tsx import React from 'react'; import { Form, Button, Space, Input } from 'antd'; export default function App() { const [form] = Form.useForm(); return ( {()...
因为 lodash `get({ data: 11 }, undefined)` 返回的是 `undefined`,而不是 `{}`,所以 `name` 为 `undefined` 需要返回 `undefined`
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.2.0. Release notes Sourced from eslint's releases. v9.2.0 Features 8485d76 feat: no-case-declarations add suggestions (#18388) (Josh Goldberg ✨) a498f35 feat: update Unicode letter detection in...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 27.9.0 to 28.3.0. Release notes Sourced from eslint-plugin-jest's releases. v28.3.0 28.3.0 (2024-04-27) Features prefer importing jest globals for specific types (#1568) (c464ae3) v28.2.0 28.2.0 (2024-04-06) Features support...
StrictMode 会导致 Field 组件卸载一次,这时 preserve=false 就会把 store 里的对应字段重置为 undefined,导致无法赋值。 - ref https://github.com/ant-design/ant-design/issues/49694  