This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Description
I would like to use Custom Validation and define error Message.
The example given in doc is with async function:
validate={{async: this.validate}}
- is it possible to use custom validate function without async call?
- is it possible to define simply the errorMessage?
I tried (in functional component):
validate={{validate: myValidate, errorMessage: "my error msg"}} but myValidate not called
validate={{myValidate}} or validate={{validate: myValidate, ...}}; myValidate is called but errorMessage has to be stored and displayed on its own for example with AvFeedback