Commit 9f08d18f by Qiang Xue

Fixes #3020 [skip ci]

parent 8e96623a
...@@ -93,6 +93,11 @@ class Validator extends Component ...@@ -93,6 +93,11 @@ class Validator extends Component
* *
* - `{attribute}`: the label of the attribute being validated * - `{attribute}`: the label of the attribute being validated
* - `{value}`: the value of the attribute being validated * - `{value}`: the value of the attribute being validated
*
* Note that some validators may introduce other properties for error messages used when specific
* validation conditions are not met. Please refer to individual class API documentation for details
* about these properties. By convention, this property represents the primary error message
* used when the most important validation condition is not met.
*/ */
public $message; public $message;
/** /**
......
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