Datepicker
Presentations
v1.0
zero-schema
No description provided.
Required fields
PresentationType Name
Properties
PresentationType
string
required
The DatePicker allows users to select a specific date from a visual calendar interface. It typically appears as a button or input field, and when clicked or tapped, it opens a calendar view from which the user can choose the desired date.
Allowed Datepicker
Name
string
required
The name of the DatePicker used for unique representation
ButtonLabel
string
optional
The text displayed on the button that opens the DatePicker.
Default
"Select Date"Margin
number, object
optional
The space around the outside of the DatePicker widget, creating a gap between it and other elements. Accepts a number for all sides, or an LTRB object ({"Top": …, "Left": …, "Right": …, "Bottom": …}). Responsive value maps are NOT supported here and resolve to zero.
Padding
number, object
optional
The space inside the DatePicker widget, providing gap between its content and the widget's edge.. Accepts a number for all sides, or an LTRB object ({"Top": …, "Left": …, "Right": …, "Bottom": …}). Responsive value maps are NOT supported here and resolve to zero.
Top
number, object
optional
How far the DatePicker should be from the top of its container in pixel. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default
0Left
number, object
optional
How far the DatePicker should be from the left side of its container. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default
0Origin
string
optional
An optional field indicating where the DatePicker originates or is sourced from.
RestorationId
string
optional
An optional ID that helps save and restore the DatePicker's state if the app is closed and reopened.
From
integer, object
optional
The starting value for the DatePicker, often representing a date or time. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default
30To
integer, object
optional
The ending value for the DatePicker, typically representing an end date or time. Accepts a responsive value map ({"sm": …, "md": …, "lg": …}).
Default
30Language
string
optional
Specifies the language used for displaying dates and other text in the DatePicker like 'Nep' or 'En'
Default
"En"