dateTimeChooser
Description
Customize a datetime picker with different formats.
Input / Parameter
Name | Description | Data Type | Default | Options | Required |
---|---|---|---|---|---|
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 |
Output
N/A
Callback
callback
The function to be executed if the datetime picker is shown successfully.
errorCallback
The function to be executed if the datetime picker is not shown successfully.
Video
Coming Soon.
Example
Coming Soon.
Steps
Coming Soon.
Result
Coming Soon.
Links
Last updated