docs(Field): add prop rows description (#13576)

This commit is contained in:
pany
2025-08-02 16:23:05 +08:00
committed by GitHub
parent 0872381d6d
commit b5d05c18cc
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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