Posted 19 March 2024, 6:19 am EST
Is there a way to prevent the itemValidator from automatically reverting an invalid date when manually entering one into an InputDate field?
For us, this could be error prone as users might enter/paste in dates and move onto the next thing before realizing that their date was not accepting. If we could prevent the autocorrection, but instead mark the field as invalid, then we could flag the field as needing correction.
I think the autocorrection should be an optional feature, if it’s not already available, or maybe it could be added.
If that’s not on the horizon or optional at this point, is there a hook or an event that goes off when the date is autocorrected? That would be a nice fallback if the autocorrection cannot be disabled. Thanks!