picker strange effects

picker strange effects

LapointeLapointe Posts: 430Questions: 81Answers: 4

In sample https://editor.datatables.net/examples/dates/time-increment minutesIncrement is set to 15 and control appears as
What does minutesIncrement do ? control display should be 00 15 30 45, not ?

In sample https://editor.datatables.net/examples/dates/time.html
add record and open datetime picker for time with empty value (def set to null) and then select hour.
Minutes and seconds are filled with current values (the same if select a minute or second). Others time parts are set when selecting a time part

Normal ?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,643Questions: 1Answers: 10,492 Site admin
    Answer ✓

    What does minutesIncrement do ? control display should be 00 15 30 45, not ?

    The minutesIncrement doesn't alter the way the time selector works. It just changes what options can be selected. Perhaps it should change it, but it isn't that "smart" at the moment. In the example you link to 00, 15, 30 and 45 options are selectable (the 15 and 45 aren't so obvious since 10 and 40 aren't selectable).

    That would be a good enhancement for a future upgrade.

    Allan

Sign In or Register to comment.