[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
+2 -1
View File
@@ -133,7 +133,8 @@ Field 默认支持 Input 标签所有的原生属性,比如 `maxlength`、`pla
| required | 是否显示表单必填星号 | `Boolean` | `false` | - |
| is-link | 是否展示右侧箭头并开启点击反馈 | `Boolean` | `false` | 1.1.10 |
| error | 是否将输入内容标红 | `Boolean` | `false` | - |
| error-message | 底部错误提示文案,为空时不展示 | `String` | `''` | - |
| error-message | 底部错误提示文案,为空时不展示 | `String` | `''` | -
| label-class | 左侧文本额外类名 | `any` | - | 2.0.0 |
| label-width | 左侧文本宽度,可指定单位,默认为 px | `String | Number` | `90px` | 1.6.17 |
| label-align | 左侧文本对齐方式,可选值为 `center` `right` | `String` | `left` | 1.1.10 |
| input-align | 输入框内容对齐方式,可选值为 `center` `right` | `String` | `left` | 1.1.10 |