feat(Form): input-align works for input slot

This commit is contained in:
陈嘉涵
2020-02-13 16:49:30 +08:00
parent 2afb8a79c0
commit 5d24a57fee
6 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -406,8 +406,8 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| label-width | Field label width | *number \| string* | `90px` |
| label-align | Field label text align, can be set to `center` `right` | *string* | `left` |
| input-align | Field input text align, can be set to `center` `right` | *string* | `left` |
| label-align | Field label align, can be set to `center` `right` | *string* | `left` |
| input-align | Field input align, can be set to `center` `right` | *string* | `left` |
| error-message-align | Error message align, can be set to `center` `right` | *string* | `left` |
| validate-first | Whether to stop the validation when a rule fails | *boolean* | `false` |
+1 -1
View File
@@ -439,7 +439,7 @@ export default {
|------|------|------|------|
| label-width | 表单项文本宽度,默认单位为`px` | *number \| string* | `90px` |
| label-align | 表单项文本对齐方式,可选值为 `center` `right` | *string* | `left` |
| input-align | 输入框内容对齐方式,可选值为 `center` `right` | *string* | `left` |
| input-align | 输入框对齐方式,可选值为 `center` `right` | *string* | `left` |
| error-message-align | 错误提示文案对齐方式,可选值为 `center` `right` | *string* | `left` |
| validate-first | 是否在某一项校验不通过时停止校验 | *boolean* | `false` |