Topic: DatePicker & TimePicker 'Clear' button event
NitinMistry asked 5 years 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.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB 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
Grzegorz Bujański staff commented 5 years ago
Hi. Sorry but time picker does not currently offer this option.
NitinMistry commented 5 years 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 5 years 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 5 years 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 5 years 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 5 years ago
We do not plan to introduce such functionality. You can manually add an event to the clear button and do what you need.