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
If you set the Maximum Day and/or Minimum Day fields under the Validation tab of a Day component, every time you change any component settings the maxDate and minDate fields are updated with the current values minus one or two days.
The behavior was originally observed with formiojs v4.21.4
Open the Validation tab and set the Maximum Day and Minimum Day fields with any combination of dates
Save settings
Open again the component settings and click on Save, without changing anything
Check the values of the component maxDate and minDate in the form schema and the values should be different than before
Expected behavior
The original values should not updated automatically.
The text was updated successfully, but these errors were encountered:
nicola88
changed the title
Minimum and maximum date changed every time the Day component is updated
Minimum and maximum date change every time the Day component is updated
Jan 2, 2025
@nicola88 Thank you for reporting this issue. I am able to reproduce it and have logged a ticket for the backlog. We are always willing to review any contributions to resolve this issue from the open-source community.
If you set the
Maximum Day
and/orMinimum Day
fields under theValidation
tab of aDay
component, every time you change any component settings themaxDate
andminDate
fields are updated with the current values minus one or two days.The behavior was originally observed with
formiojs
v4.21.4How to reproduce
Validation
tab and set theMaximum Day
andMinimum Day
fields with any combination of datesmaxDate
andminDate
in the form schema and the values should be different than beforeExpected behavior
The original values should not updated automatically.
The text was updated successfully, but these errors were encountered: