Skip to content

Commit 73d1f02

Browse files
authored
Update README.md
1 parent 070e80f commit 73d1f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Once you have extended the class a set of usefull methods become avaiblable :
7070
|this.isFormValid()|Boolean|This method indicates if the form is valid and if there is no errors.|
7171
|this.isFieldInError(fieldName)|Boolean|This method indicates if a specific field is in error. The field name will matches with your React state|
7272
|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.|
7474

7575
The library also contains a [defaultMessages.js](./defaultMessages.js) file wich includes the errors label for a language locale.
7676
You can override this file via the component React props :

0 commit comments

Comments
 (0)