How to make the minutes jump 15 by 15 instead of 1 2 3 4 5 6 7 8 9 ,
i want to make the miniutes slots 15 min like
03 : 00
03:15
03:30
03:45
04:00
04:15
04:30
04:45
and so on ...
This Date Picker is from the browser, you can use the DatePicker from OutsystemsUI, I'm quite sure you have this option there.
Regards
What do you mean by this from the browser ? i am using the calnder in OutSystem
But it's not a datePicker widget!
That date picker is the default when you have a DateTime input.
OutSystems UI has another widget, named DatePicker, that has other options and may have that configuration that you want
I used it ! but it increment minutes only 5 min by 5 min !
i want it to increment 15 min by 15 min ! how to do that !!!
how to control the Calendar Increment ! 15 min each time i want to increment minutes
Hello Omar,
You can add following JavaScript into OnReady event of you page like this
Inside JavaScript widget you can add following code:
var minutes = document.getElementsByClassName('numInput flatpickr-minute');
if(minutes.length > 0)
{
minutes[0].step=15;
}
Mostafa Othman, did you use this script in inputdata or datepicker?
I implemented it on both, but it didn't work.
Hi Flavio,
I am using DatePicker and its working fine
You can check also class name used to select date picker into JavaScript is correct and I am using this JavaScript into OnReady event of my screen