File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 25
25
- [ setValue()] ( #setvalue )
26
26
- [ resetValue()] ( #resetvalue )
27
27
- [ getErrorMessage()] ( #geterrormessage )
28
+ - [ getErrorMessages()] ( #geterrormessages )
28
29
- [ isValid()] ( #isvalid )
29
30
- [ isValidValue()] ( #isvalidvalue )
30
31
- [ isRequired()] ( #isrequired )
@@ -356,6 +357,9 @@ var MyInput = React.createClass({
356
357
```
357
358
Will return the validation message set if the form input component is invalid. If form input component is valid it returns ** null** .
358
359
360
+ #### <a name =" geterrormessages " >getErrorMessages()</a >
361
+ Will return the validation messages set if the form input component is invalid. If form input component is valid it returns empty array.
362
+
359
363
#### <a name =" isvalid " >isValid()</a >
360
364
``` jsx
361
365
var MyInput = React .createClass ({
You can’t perform that action at this time.
0 commit comments