docs(Form): add validator version tag

This commit is contained in:
陈嘉涵
2020-02-21 20:52:03 +08:00
parent 1b3bcf27ee
commit 3cb84e1a4e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ export default {
|------|------|------|
| message | Error message | *string* |
| required | Whether to be a required field | *boolean* |
| validator | Custom validator | *(value, rule) => boolean \| Promise* |
| validator `v2.5.3` | Custom validator | *(value, rule) => boolean \| Promise* |
| pattern `v2.5.3` | Regex pattern | *RegExp* |
| trigger `v2.5.2` | When to validate the formcan be set to `onChange``onBlur` | *string* |