better-dateinput-polyfill
better-dateinput-polyfill copied to clipboard
No Support for EventListeners
Currently when you pick a new day within the picker, it sets the input value, but does not dispatch an event. This is problematic for anyone using controlled inputs (React, Preact, etc.), and anyone building forms with dynamic validation.
In an ideal world, we would trigger a change
event anytime a new date is selected.
Am I missing something here?