Topic: Managable increment for MDBTimepicker and MDBDateTimepicker

clickstudioltd priority asked 11 months ago


There is an increment property on MDBTimepicker which sets the time increments to 5 minutes by default. Unfortunately, this property doesn't give you any control on the increment amount and currently we need to have our time pickers to increase by 15 minutes but we can't do it.

Also, this property is not present in MDBDateTimepicker in any shape or form. It'd be nice to have all of these components follow the same logic.

Please consider adding a property which gives you control over the increment amount for the time.


Mateusz Lazaru staff answered 11 months ago


Configurable increment is a reasonable feature request, and we will work on it.

All Timepicker's properties are available in DateTimepicker through timepickerOptions prop.

<MDBDateTimepicker
  timepickerOptions={{
    increment: true,
  }}
/>


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: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 7.0.0
  • Device: PC
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: Yes
  • Provided link: No