Refactor `customValidator` to a `customErrorMessage` prop
Instead of passing a validator function, pass a error message prop and emit a text event to run the validator.
Showing
Please register or sign in to comment
Instead of passing a validator function, pass a error message prop and emit a text event to run the validator.