I have implemented the Toast UI timepicker from here on my website. I’m trying to use the disabledMinutes option to disable a specific time such as “03:15” but it is not working. I could still select 03:15 on my timepicker. What could be the issue?
Here is what I have so far
var tui = new tui.TimePicker('#test', {
initialHour: 12,
initialMinute: 0,
inputType: 'spinbox',
format: 'hh:mm',
disabledMinutes: {
3 : [true, true, true, true, true, true, true, true, true, true,
true, true, true, true, false, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true,
true, true, true, true, true, true, true, true, true, true]
}
});