Topic: Emit 'input' event from DatePicker
Expected behavior Could you modify the DatePicker and other such input elements to emit a synthetic 'input' event when the user changes the value? You could put it behind an option like data-mdb-emit-input, with default false to preserve existing behavior.
Actual behavior Right now such an event does not get emitted, instead you get the valueChanged.mdb.datepicker event
Resources (screenshots, code snippets etc.) Seems simple to add, just call dispatchEvent(new Event('input')) on the element related to the Datepicker or other form controls.
Grzegorz Bujański staff answered 5 days ago
We do not plan to make such changes at the moment. But we will consider adding this in the future.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Standard
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No