The datepicker (Calendar Picker) is a lightweight component that allows end users to enter or select a date value.
The default datepicker value is
DD.MM.YYYY.Configuring the datepicker element
Datepicker generic settings
The available configuration options for this form element are:Process data key
Process data key establishes the binding between the datepicker element and process data, enabling its later use in decisions, business rules or integrations.Properties
- Label: The visible label for the datepicker element.
- Placeholder: Text that appears within the datepicker element when it is empty.
- Min Date: Set the minimum valid date selectable in the datepicker.
- Max Date: Set the maximum valid date selectable in the datepicker.
- Min Date, Max Date error: When a date is introduced by typing, define the error message to be displayed.
- Helpertext: Additional information about the datepicker element, which can be optionally hidden within an infopoint.
Datasource configuration
Default Value: The default values of the datepicker element, this will autofill the datepicker when you will run the process.Validators
The following validators can be added to a datepicker:required, custom, isSameOrBeforeToday or isSameOrAfterToday (more details here).
Hide/disable expressions
The datepicker behavior can be defined using JavaScript expressions for hiding or disabling the element. The following properties can be configured for expressions:- Hide condition: A JavaScript expression that hides the datepicker element when it returns a truthy value.
- Disabled condition: A JavaScript expression that disables the datepicker element when it returns a truthy value.
It’s important to make sure that disabled fields have the same expression configured under the path expressions → hide.
UI actions
UI actions can be added to the datepicker element to define its behavior and interactions.- Event: Possible value -
CHANGE. - Action Type: Select the action type.
Datepicker settings overrides
There are instances where you may need to tailor settings configured in the Generic settings tab. This proves especially beneficial when you wish to adjust these settings to appear differently across various platforms such as Web, Android, or iOS. Available override settings:- Properties:
- Label: Override the datepicker label.
- Helper: Override helper text/info point.
- Expressions:
- Hide: Override the hide expression.
Datepicker styling
- Web
- iOS
- Android
Sizing
Adjusting the size of components is crucial for a responsive design. Fit W (width) offers three options:- fill: Fills the available space.
- fixed: Maintains a fixed width.
- auto: Adjusts the width automatically based on content.
Datepicker style overrides options
Theme overrides refer to the ability to modify or customize the appearance and behavior of UI components by overriding default theme settings. This can be applied at various levels, such as specific elements or entire sections, and can be platform-specific (Web, iOS, Android).
Common Properties
Common Properties
- Border radius [TEXT]
- Border width [TEXT]
- Text style [FONT]

Label
Label
- Default state
- Text color [COLOR]
- Disabled state
- Text color [COLOR]
- Text style [FONT]

Helper
Helper
- Text color [COLOR]
- Text style [FONT]
- Helper Tooltip
- Text style [FONT]
- Text color [COLOR]
- Background color [COLOR]
- Icon Color [COLOR]

Error
Error
- Text color [COLOR]
- Text style [FONT]

Empty State
Empty State
- Border color [COLOR]
- Background color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

Active State
Active State
- Border color [COLOR]
- Background color [COLOR]
- Text color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

Filled State
Filled State
- Border color [COLOR]
- Background color [COLOR]
- Text color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

Disabled State
Disabled State
- Border color [COLOR]
- Background color [COLOR]
- Text color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

Error State
Error State
- Border color [COLOR]
- Background color [COLOR]
- Text color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

Hover State (only for Web configuration)
Hover State (only for Web configuration)
- Border color [COLOR]
- Background color [COLOR]
- Text color [COLOR]
- Right icon color [COLOR]
- Left icon color [COLOR]
- Prefix/Suffix color [COLOR]
- Placeholder color [COLOR]

You can import or push the overrides from one platform to another without having to configure them multiple times.



