Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Emit 'input' event from DatePicker

patrickjh pro asked 1 week ago


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 1 week ago


We do not plan to make such changes at the moment. But we will consider adding this in the future.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No