Topic: Timepicker max time 12pm should be noon and not midnight.
robertsi77 free asked 1 year ago
I used the data-mdb-min-time="09:00 AM" data-mdb-max-time="11:00 PM"
then tried to select noon 12 PM but it does not let me until I put max time to 12 PM.Seems like the picker thinks 12 pm it's midnight instead of noon.
Then I tried to change the values to 24hrs 09:00 min and max 23:00 but only lets me select from 09:00 to 12:00.
What is the correct way to do it?
I attached snipped with both cases.
I'm sorry to inform you that there is bug in the logic of 12h format. We will fix this as soon as possible.
However if you add
data-mdb-format24="true" your second example will work well. Also if you want you can add
data-mdb-inline="true" to use inline version.
Sorry but your snippet is not working. Are you sure you clicked
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: Computer
- Browser: Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: Yes