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
I have a form with date range picker and two time pickers. The time pickers validation is based on the input of the other time picker and the range picker.
If the date range is only one day, the start time should be before the end time. Also I can only validate the time pickers when the user entered a date range first.
Is it possible to re-trigger the whole form validation on form-submit or re-validate the whole form after any input has changed?
The problem is that if I enter the times and try to submit the time pickers say I need to pick a date first. Which is correct. If I now enter the date range and submit again, the time pickers are still tagged as invalid and are not revalidated at this point.
The form should be revalidated when the user submits the form.
Better would be to have an option to revalidate everything after one input has changed
Actual behaviour
The input fields tagged as invalid should be valid after the user entered the date range but the fields are still tagges as invalid stating that the user should enter the date range first.
The text was updated successfully, but these errors were encountered:
Subject of the issue
I have a form with date range picker and two time pickers. The time pickers validation is based on the input of the other time picker and the range picker.
If the date range is only one day, the start time should be before the end time. Also I can only validate the time pickers when the user entered a date range first.
Is it possible to re-trigger the whole form validation on form-submit or re-validate the whole form after any input has changed?
The problem is that if I enter the times and try to submit the time pickers say I need to pick a date first. Which is correct. If I now enter the date range and submit again, the time pickers are still tagged as invalid and are not revalidated at this point.
Your environment
Steps to reproduce
TimeRule
Rules in Request Class
Expected behaviour
The form should be revalidated when the user submits the form.
Better would be to have an option to revalidate everything after one input has changed
Actual behaviour
The input fields tagged as invalid should be valid after the user entered the date range but the fields are still tagges as invalid stating that the user should enter the date range first.
The text was updated successfully, but these errors were encountered: