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: Clear button does not work in MDBDateTimepicker and MDBTimepicker

clickstudioltd priority asked 2 years ago


Issues:

  1. Clear button does not clear the field nor calls the onChange method in any of these components.
  2. When you press clear button in MDBDateTimepicker, the component goes into invalid state on the form with a red border even though there is no required attribute present.

This button works fine in MDBDatepicker.


emmdb priority answered 3 months ago


it has been a bug for more than a year it should be resolved by now


Krzysztof Wilk staff answered 2 years ago


Hi!

  1. That's a default behavior of our Timepicker's "Clear" button. It should reset the clock instead of actually clearing the input.
  2. That's a bug, we'll fix that as soon as possible. Sorry for that inconvenience.

clickstudioltd priority commented 2 years ago

Okay, so how are you supposed to clear the selected date and time with MDBDateTimepicker? Because this button actually clears the selected date in MDBDatepicker in the field as well as calling the onChange method.


FREE CONSULTATION

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

Status

Closed

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 5.1.0
  • Device: PC
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No