field.date
A component for entering the date and time in the desired format and range.
You can set a list of dates that the user cannot select.
Component properties
Name | Type | Description |
---|---|---|
type * | "field.date" | Set component type |
data * | writable | Data with values that will be processed or changed. |
label | string | Label above the component. |
blockList | array | List of dates that the user cannot select. |
blockList[] | string | Date that the user cannot select. |
format * | string | Format of the date entered by the user:
|
hint | string | Hint text. |
max | string | The latest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:
|
min | string | The earliest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:
|
placeholder | string | A semi-transparent label that is shown in the box when it is empty. |
validation | condition | Validation based on condition. |
Name | Type | Description |
---|---|---|
type * | "field.date" | Set component type |
data * | writable | Data with values that will be processed or changed. |
label | string | Label above the component. |
blockList | array | List of dates that the user cannot select. |
blockList[] | string | Date that the user cannot select. |
format * | string | Format of the date entered by the user:
|
hint | string | Hint text. |
max | string | The latest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:
|
min | string | The earliest date and time in the YYYY-MM-DD hh:mm format that the user can select. Where:
|
placeholder | string | A semi-transparent label that is shown in the box when it is empty. |
validation | condition | Validation based on condition. |