mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
docs(Field): add prop rows description (#13576)
This commit is contained in:
@@ -356,6 +356,7 @@ Use `label-align` prop to align the input value, can be set to `center`, `right`
|
||||
| spellcheck `v4.6.2` | HTML native attribute, see [MDN - spellcheck](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)<br> | _boolean_ | - |
|
||||
| autocorrect `v4.6.2` | HTML native attribute, Safari only, see [MDN - autocorrect](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#autocorrect)<br> | _string_ | - |
|
||||
| inputmode `v4.9.9` | HTML native attribute, see [MDN - inputmode](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) | _string_ | Set automatically according to the `type` prop |
|
||||
| rows | HTML native attribute, the number of visible text lines for the control, only valid for textarea | _number \| string_ | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
@@ -385,6 +385,7 @@ export default {
|
||||
| spellcheck `v4.6.2` | HTML 原生属性,用于检查元素的拼写错误,此 API 仅在部分浏览器支持,详见 [MDN - spellcheck](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)<br> | _boolean_ | - |
|
||||
| autocorrect `v4.6.2` | HTML 原生属性,仅 Safari 适用,用于自动更正输入的文本,详见 [MDN - autocorrect](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#autocorrect)<br> | _string_ | - |
|
||||
| inputmode `v4.9.9` | HTML 原生属性,用于指定输入框的输入模式,详见 [MDN - inputmode](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) | _string_ | 根据 `type` 属性自动设置 |
|
||||
| rows | HTML 原生属性,用于指定输入框的可见文本行数,只对 textarea 有效 | _number \| string_ | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
Reference in New Issue
Block a user