feat(Field): add colon prop (#6195)

This commit is contained in:
neverland
2020-05-01 19:31:23 +08:00
committed by GitHub
parent a7294ea980
commit 4adefe5605
6 changed files with 26 additions and 1 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ export default {
| 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-trigger `v2.5.2` | When to validate the formcan be set to `onChange``onSubmit` | _string_ | `onBlur` |
| colon | Whether to display `:` after label | _boolean_ | `false` |
| colon | Whether to display colon after label | _boolean_ | `false` |
| validate-first | Whether to stop the validation when a rule fails | _boolean_ | `false` |
| scroll-to-error `v2.5.2` | Whether to scroll to the error field when validation failed | _boolean_ | `false` |
| show-error `v2.6.0` | Whether to highlight input when validation failed | _boolean_ | `true` |