I’m trying to set only the time in the picker to a default value. Right now, the value stays null until the user selects a date, but the time is defaulted to midnight. 99.99% of the item, users interacting with the component will need to look at any date with the time of 07:00:00. Eliminating the requirement to select the date AND change the time from midnight to 7 am is the goal. I’ve tried some script transforms with no success. To summarize:
Value is null until user selects a date. Once date is selected, default time is 07:00:00.
Will that not change the value to today’s date, without the user selecting it? I want the value to remain null until the user interacts with the component.
Consider using the time span embeddable view from my Tag Report Utility (in the exchange). It breaks out separate time entry fields according to the interval selections the user makes, and presets start time/end time when using day boundaries.
This may be the way to go. I’m having a hard time with it not constantly applying the change. It cycled from a selected date of today to the year 2180 in a few seconds
Note that the embeddable view's parameters are mostly bidirectional, so the defaults for interval, bounds, and start/end are expected to be supplied by the containing view.
It needs a legit dateTime value to apply the setTime function to. Might need to do this on session start up instead of the components value property change
Created an onstartup even that sets a custom property to 1 when the view loads
created a property change script on the components value that if custom view property equals 1, force the time to 7 am when a date is selected, and then set the custom view property to 0.
The limitation with this, of course, is that any other dates selected after the first one, the time defaults back to 12 am.