dateTimeChooser
Last updated
Last updated
Customize a datetime picker with different formats.
Name | Description | Data Type | Default | Options | Required |
---|---|---|---|---|---|
N/A
The function to be executed if the datetime picker is shown successfully.
The function to be executed if the datetime picker is not shown successfully.
Coming Soon.
Coming Soon.
Coming Soon.
Coming Soon.
mode
The mode of the picker.
String/Text
-
date, time, datetime
Yes
date
The selected date.
String/Text
current date
-
No
minDate
The minimum date.
String/Text
-
-
Yes
maxDate
The maximum date.
String/Text
-
-
Yes
titleText
The title text.
String/Text
-
-
Yes
okText
The 'OK' button text.
String/Text
-
-
Yes
cancelText
The 'Cancel' button text.
String/Text
-
-
Yes
todayText
The 'Today' button text.
String/Text
-
-
Yes
nowText
The 'Now' button text.
String/Text
-
-
Yes
is24Hour
To set to 24 hour format.
String/Text
-
-
Yes
androidTheme
To set to Android device theme.
String/Text
-
-
Yes
allowOldDates
To allow choosing old dates.
String/Text
-
-
Yes
allowFutureDates
To allow choosing future dates.
String/Text
-
-
Yes
doneButtonLabel
The 'Done' button label.
String/Text
-
-
Yes
doneButtonColor
The 'Done' button color.
String/Text
-
-
Yes
cancelButtonLabel
The 'Cancel' button label.
String/Text
-
-
Yes
cancelButtonColor
The 'Cancel' button color.
String/Text
-
-
Yes
xPosition
The horizontal position of the picker.
String/Text
-
-
Yes
yPosition
The vertical position of the picker.
String/Text
-
-
Yes
minuteInterval
The minute interval.
String/Text
-
-
Yes
popoverArrowDirection
The direction of the popover arrow.
String/Text
-
-
Yes
locale
Locale.
String/Text
-
-
Yes
style
The style for iOS 14.
String/Text
wheels
automatic, inline, compact, wheels
No