mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
963120f702
* Improved Form component typings With this fix you can use HTMLFormElement attributes on Form component without getting TypeScript errors. For example this code does not longer produce error for the additional `autoComplete` prop: ``` const myForm = ( <Form autoComplete="off"> ... </Form> ) ``` * Fix onBlur / onChange typings with Input component This improvement fix a typing issue incompatibility with `react-final-form` The incompatibility involve [this line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20) where the handler argument is a more specific SyntheticEvent |
||
---|---|---|
.. | ||
__tests__ | ||
demo | ||
style | ||
constants.tsx | ||
Form.tsx | ||
FormItem.tsx | ||
index.en-US.md | ||
index.tsx | ||
index.zh-CN.md |