docs: update numeric type

This commit is contained in:
陈嘉涵
2020-01-29 10:11:09 +08:00
parent 36ba412f70
commit c6f424baa7
85 changed files with 197 additions and 197 deletions
+3 -3
View File
@@ -214,11 +214,11 @@ Use `input-align` prop to align the input value
| Attribute | Description | Type | Default |
|------|------|------|------|
| value | Field value | *string \| number* | - |
| value | Field value | *number \| string* | - |
| label | Field label | *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 | *string \| number* | - |
| maxlength | Max length of value | *number \| string* | - |
| placeholder | Placeholder | *string* | - |
| border | Whether to show inner border | *boolean* | `true` |
| disabled | Whether to disable field | *boolean* | `false` |
@@ -234,7 +234,7 @@ Use `input-align` prop to align the input value
| arrow-direction `v2.0.4` | Can be set to `left` `up` `down` | *string* | `right` |
| error-message | Error message | *string* | `''` |
| label-class | Label className | *any* | - |
| label-width | Label width | *string \| number* | `90px` |
| label-width | Label width | *number \| string* | `90px` |
| label-align | Label text align, can be set to `center` `right` | *string* | `left` |
| input-align | Input text align, can be set to `center` `right` | *string* | `left` |
| error-message-align | Error message text align, can be set to `center` `right` | *string* | `left` |