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
Are you submitting a bug report or a feature request?
bug report
Having an validation error returned as Map does not set hasValidationErrors form state variable to true.
What is the current behavior?
When field validation callback returns an error object that is a Map an unexpected form state is created. errors state variables is not empty but hasValidationErrors function returns false. As if there was no validation errors.
What is the expected behavior?
If field validation function returns map object then hasValidationErrors form state variable is set to true.
Sandbox Link
What's your environment?
Other information
The text was updated successfully, but these errors were encountered:
Are you submitting a bug report or a feature request?
bug report
Having an validation error returned as Map does not set hasValidationErrors form state variable to true.
What is the current behavior?
When field validation callback returns an error object that is a Map an unexpected form state is created.
errors
state variables is not empty buthasValidationErrors
function returns false. As if there was no validation errors.What is the expected behavior?
If field validation function returns map object then
hasValidationErrors
form state variable is set to true.Sandbox Link
What's your environment?
Other information
The text was updated successfully, but these errors were encountered: