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
{{ message }}
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
I'm experiencing an issue with the DateRangeFilterType. I'm assigning some validation constraints to such a field and whenever a violation is raised, errors won't be assigned to the field and rendered accordingly. Instead, the errors will bubble to the parent form and be rendered at that level.
I'll leave here an example. Given a simple form like the one below:
If sent a request that would trigger violations for both constraints, you would get some output like the following:
I've included in the output the vars.errors for the form and both fields, as well as the cause.propertyPath for every error.
Here you can see that the dateRange field has no mapped errors and those were bubbled to the parent form, even though the property path is virtually identical to the error for the field foo which is correctly assigned.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm experiencing an issue with the DateRangeFilterType. I'm assigning some validation constraints to such a field and whenever a violation is raised, errors won't be assigned to the field and rendered accordingly. Instead, the errors will bubble to the parent form and be rendered at that level.
I'll leave here an example. Given a simple form like the one below:
If sent a request that would trigger violations for both constraints, you would get some output like the following:
I've included in the output the
vars.errors
for the form and both fields, as well as thecause.propertyPath
for every error.Here you can see that the
dateRange
field has no mapped errors and those were bubbled to the parentform
, even though the property path is virtually identical to the error for the fieldfoo
which is correctly assigned.The text was updated successfully, but these errors were encountered: