You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ Once you have extended the class a set of usefull methods become avaiblable :
70
70
|this.isFormValid()|Boolean|This method indicates if the form is valid and if there is no errors.|
71
71
|this.isFieldInError(fieldName)|Boolean|This method indicates if a specific field is in error. The field name will matches with your React state|
72
72
|this.getErrorMessages(separator)|String|This method returns the different error messages bound to your React state. The argument is optional, by default the separator is a \n. Under the hood a join method is used.|
73
-
|this.getErrorsInField(fieldName)|Array|This method retruns the error messages bound to the specified field. The field name will match with your React state. it returns an empty array if no error was bound to the filed.|
73
+
|this.getErrorsInField(fieldName)|Array|This method returns the error messages bound to the specified field. The field name will match with your React state. it returns an empty array if no error was bound to the filed.|
74
74
75
75
The library also contains a [defaultMessages.js](./defaultMessages.js) file wich includes the errors label for a language locale.
76
76
You can override this file via the component React props :
0 commit comments