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
ok, scratch most of that, I was forgetting that I could call setValue on the DateBox to clear it out. However setDate(null) is still an issue. Here is working code for the Clear button:
We dont have a setDate(...) function for the DateBox and there is no setValue(..) for the calendar, the DateBox is a form field and uses the setValue, I fixed so it now clears and call change listeners when the value is null and will also close the calendar popup. as for the calendar it will always have a Date and by default clearing the calendar will set it to the specified default date.
so now you can just call clear or setValue null on the DateBox.
vegegoku
changed the title
V2 DateBox suggestions
DateBox should close the popup when cleared and call change listeners when value is null
Sep 22, 2024
Create a way to clear a datebox
DateBox.clear() doesn't close the calendar popup
DateBox.setData(null) doesn't call any of the change handlers
As a user I should be able to clear a date selection...
The text was updated successfully, but these errors were encountered: