I want to initialize a set of datetimepickers with the previous days shift start times when the view loads but then allow the user to change it afterwards.
I was wondering if there was a simple clean way to do this? I already have the times being calculated.
In vision I’ve had good luck using a binding and turning polling off. I think datetimepicker is a perspective component, but you could try the same strategy.
Any binding should work for you just fine. If you’re using a Named Query, then you should make sure to leave polling off. If using an Expression binding which uses a function which allows for polling, make sure you set the polling argument to
now(0) ). Property bindings require no omissions, but if the value they are bound to changes they will overwrite the user-selected value.