mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +08:00
update input doc
This commit is contained in:
parent
a47c200f7c
commit
01859fc581
@ -34,6 +34,9 @@ Keyboard and mouse can be used for providing or changing data.
|
||||
> When `Input` is used in a `Form.Item` context, if the `Form.Item` has the `id` and `options` props defined
|
||||
then `value`, `defaultValue`, and `id` props are automatically set.
|
||||
|
||||
The rest props fo Input is exactly same as original [input](https://facebook.github.io/react/docs/events.html#supported-events).
|
||||
|
||||
|
||||
#### Input.Search
|
||||
|
||||
`Added in 2.5.0`
|
||||
|
@ -33,6 +33,8 @@ title: Input
|
||||
|
||||
> 如果 `Input` 在 `Form.Item` 内,并且 `Form.Item` 设置了 `id` 和 `options` 属性,则 `value` `defaultValue` 和 `id` 属性会被自动设置。
|
||||
|
||||
Input 的其他属性和 React 自带的 [input](https://facebook.github.io/react/docs/events.html#supported-events) 一致。
|
||||
|
||||
#### Input.Search
|
||||
|
||||
`Added in 2.5.0`
|
||||
|
Loading…
Reference in New Issue
Block a user