feat(Form): add show-error prop (#5941)

This commit is contained in:
neverland
2020-03-29 15:28:35 +08:00
committed by GitHub
parent 7b2e6acd33
commit 6ce940d0db
5 changed files with 39 additions and 1 deletions
+1
View File
@@ -432,6 +432,7 @@ export default {
| colon | Whether to display `:` 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.5.9` | Whether to highlight input when validation failed | *boolean* | `true` |
| show-error-message `v2.5.8` | Whether to show error message when validation failed | *boolean* | `true` |
### Data Structure of Rule