feat(Field): add name prop

This commit is contained in:
陈嘉涵
2020-02-07 14:36:30 +08:00
parent 0f137852e0
commit f3398dc2cd
5 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -214,8 +214,9 @@ Use `input-align` prop to align the input value
| Attribute | Description | Type | Default |
|------|------|------|------|
| value | Field value | *number \| string* | - |
| v-model (value) | Field value | *number \| string* | - |
| label | Field label | *string* | - |
| name | Name | *string* | - |
| type | Input type, can be set to `tel` `digit`<br>`number` `textarea` `password` | *string* | `text` |
| size | Sizecan be set to `large` | *string* | - |
| maxlength | Max length of value | *number \| string* | - |