I have an alloy ui timepicker in my form. I want to only display Hours in the Input Fields. But the problem is Alloy UI divides Timeslots in 30 minutes each. So thats my input fields displays same hour 2 times
A.use('aui-timepicker', function(A) {
new A.TimePicker({
trigger : 'input#<portlet:namespace/>endTime',
mask : '%H',
popover : {
zIndex : 1011
},
on : {
selectionChange : function(event) {
console.log(event.newSelection)
}
}
});
});
With Minutes & Time
- 00:00
- 00:30
- 01:00
- 01:30
Only Hours
- 00
- 00
- 01
- 01