[new feature] Field: add label-class prop

This commit is contained in:
陈嘉涵
2019-05-02 17:48:51 +08:00
parent e9e6e238db
commit 7f0615a503
6 changed files with 28 additions and 2 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-class | Label className | `any` | - |
| 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` |