DatePicker & TimePicker 'Clear' button event


Topic: DatePicker & TimePicker 'Clear' button event

NitinMistry asked 10 months ago

Expected behavior

Both picker components should trigger the 'change' event when 'Clear' button is clicked.

Actual behavior

DatePicker does trigger the change event but TimePicker does not.

Resources (screenshots, code snippets etc.)


Grzegorz Bujański staff commented 10 months ago

Hi. Sorry but time picker does not currently offer this option.


NitinMistry commented 10 months ago

Thanks for repeating my statement as your answer. It would be most helpful if you could provide a solution. I don't see any reason why the DatePicker can trigger the change event and why the same behaviour cannot be added to the TimePicker?


Grzegorz Bujański staff commented 10 months ago

We do not plan to introduce such functionality. You can manually add an event to the clear button and do what you need.


Grzegorz Bujański staff commented 10 months ago

We do not plan to introduce such functionality. You can manually add an event to the clear button and do what you need.


Grzegorz Bujański staff commented 10 months ago

We do not plan to introduce such functionality. You can manually add an event to the clear button and do what you need.


Grzegorz Bujański staff commented 10 months ago

We do not plan to introduce such functionality. You can manually add an event to the clear button and do what you need.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.18.0
  • Device: Desktop
  • Browser: Chrome 83.0.4103.61
  • OS: Windows 8.1
  • Provided sample code: No
  • Provided link: No