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
Questions don't have an error status. It would be nice to use something like question.error in an if-statement to show a custom error message, or add an error class to the field wrapper.
Also, the submission.getAllErrors() puts out an array of strings. Not only does the order not mach the order of the fields, the array keys do not match the question ids. And the strings do not mach the custom error message added in the backend.
Matching the keys in the getAllErrors array with the question ids, would be very helpful.
The text was updated successfully, but these errors were encountered:
Questions don't have an error status. It would be nice to use something like
question.error
in an if-statement to show a custom error message, or add an error class to the field wrapper.Also, the submission.getAllErrors() puts out an array of strings. Not only does the order not mach the order of the fields, the array keys do not match the question ids. And the strings do not mach the custom error message added in the backend.
Matching the keys in the getAllErrors array with the question ids, would be very helpful.
The text was updated successfully, but these errors were encountered: