i am using time picker from outsystems UI. want to keep it blank so that user can fill by him self.
Hi Prince Aadil Khan Panwar,
By default, it starts empty, only when the user clicks the input, the time is selected.
Do you mean, you don't want to see the 12 : 00 PM when clicking the input?
Can you help us understand what is it exactly that you want to achieve?
Regards,
PZ
Hi Paulo Zacarias ,
yes, I don't need 12:00:PM in initial. I want this to be blank and if user wants to enter then he can add time.
Prince
Hi, you can opt to use a local variable if you want a blank time picker.
Chris
Have you tried setting the initial time in your timepicker? If not, kindly see attached image. Hope it helps!
Option 1:
Set InitialTime = DateTimeToTime(NullDate())
Option 2:
Set InitialTime = #00:00:01#
Applicable for Is24Hours = True
Default value in display would be displayed as 00:00
Hi Christian Angelo Santos,
It is working with #00:00:01#. Not working with DateTimeToTime(NullDate()) .
ThanksRegardsPrince
i need like this. i have used on initialized client action to make local variable to assign blank value. but it is showing the text box filled as 12:00 AM
Thanks
Regards
I guess that's the limitation of the timepicker capabilities in the current version.
Source: https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/interaction/time_picker/
Hi Chris,
I appreciate your efforts.thanksRegards Prince
Love to hear that.
But in case you're accepting another options aside from OSUI timepicker, I found this forge component for you to explore.
Forge: https://www.outsystems.com/forge/component-versions/9683/version/0/platform/
Sample:
Cheers!
Hi,
could you please try to use a local variable!
Vijay Perumalsamy