mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
doc: Input.TextArea property allowClear
add 'since', ref #19310
This commit is contained in:
parent
948a69c75e
commit
9e27697e93
@ -46,7 +46,7 @@ The rest of the props of Input are exactly the same as the original [input](http
|
||||
| defaultValue | The initial input content | string | | |
|
||||
| value | The input content value | string | | |
|
||||
| onPressEnter | The callback function that is triggered when Enter key is pressed. | function(e) | | |
|
||||
| allowClear | allow to remove input content with clear icon | boolean | | |
|
||||
| allowClear | allow to remove input content with clear icon | boolean | | 3.25.0 |
|
||||
|
||||
The rest of the props of `Input.TextArea` are the same as the original [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea).
|
||||
|
||||
|
@ -47,7 +47,7 @@ Input 的其他属性和 React 自带的 [input](https://facebook.github.io/reac
|
||||
| defaultValue | 输入框默认内容 | string | | |
|
||||
| value | 输入框内容 | string | | |
|
||||
| onPressEnter | 按下回车的回调 | function(e) | | |
|
||||
| allowClear | 可以点击清除图标删除内容 | boolean | | |
|
||||
| allowClear | 可以点击清除图标删除内容 | boolean | | 3.25.0 |
|
||||
|
||||
`Input.TextArea` 的其他属性和浏览器自带的 [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) 一致。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user