better-dateinput-polyfill icon indicating copy to clipboard operation
better-dateinput-polyfill copied to clipboard

No Support for EventListeners

Open jeremyblalock opened this issue 3 years ago • 0 comments

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?

jeremyblalock avatar Jun 08 '21 16:06 jeremyblalock