[new feature] Field: add label-width prop (#3235)

This commit is contained in:
neverland
2019-04-29 11:31:52 +08:00
committed by GitHub
parent 0b774ed7c0
commit 9fe0831e6d
5 changed files with 55 additions and 1 deletions
+1
View File
@@ -127,6 +127,7 @@ Field support all native properties of input tagsuch as `maxlength`、`placeh
| is-link | Whether to show link icon | `Boolean` | `false` |
| error | Whether to show error info | `Boolean` | `false` |
| error-message | Error message | `String` | `''` |
| label-width | Label width | `String | Number` | `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` |