I've set up a content app which uses the <umb-date-time-picker> control to give the user a way of selecting a date range to filter some data I'm displaying in the content app. It's all working well, however, I've discovered that once the date picker is used by the user, it's now flagged as a dirty form and so when the user navigates away, they're prompted with the 'you have unsaved changes' dialog. Even with using the 'no-dirty-check'
On a standard <input> adding the 'no-dirty-check' property inline prevents this from happening as expected, but on the umb-date-time-picker, it doesn't attach it to the actual input and so it doesn't prevent the behaviour.
Is there something I'm missing or an extra step I might have to do here?
Using umb-date-time-picker with no-dirty-check
I've set up a content app which uses the <umb-date-time-picker> control to give the user a way of selecting a date range to filter some data I'm displaying in the content app. It's all working well, however, I've discovered that once the date picker is used by the user, it's now flagged as a dirty form and so when the user navigates away, they're prompted with the 'you have unsaved changes' dialog. Even with using the 'no-dirty-check'
Code looks like:
On a standard <input> adding the 'no-dirty-check' property inline prevents this from happening as expected, but on the umb-date-time-picker, it doesn't attach it to the actual input and so it doesn't prevent the behaviour.
Is there something I'm missing or an extra step I might have to do here?
hi there - did you find a solution to this?
is working on a reply...