Commit 3fff4e03 by Qiang Xue

Merge pull request #1639 from docsolver/patch-1

Number validator was missing
parents 2d3ac6b4 d5fccf67
...@@ -139,6 +139,13 @@ Validates that the attribute value matches the specified pattern defined by regu ...@@ -139,6 +139,13 @@ Validates that the attribute value matches the specified pattern defined by regu
- `pattern` the regular expression to be matched with. - `pattern` the regular expression to be matched with.
- `not` whether to invert the validation logic. _(false)_ - `not` whether to invert the validation logic. _(false)_
### `number`: [[NumberValidator]]
Validates that the attribute value is a number.
- `max` limit of the number. _(null)_
- `min` lower limit of the number. _(null)_
### `required`: [[RequiredValidator]] ### `required`: [[RequiredValidator]]
Validates that the specified attribute does not have null or empty value. Validates that the specified attribute does not have null or empty value.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment