# Datepicker

The 'Date Picker' component is used to allow users to select a date from a calendar.

## Properties

| Property     | Value Sample     | Value Type | Description                                                                                                                                                                                                                                                                                                    |
| ------------ | ---------------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name         | datepicker1      | string     | Specifies the name or identifier of the Date Picker component.                                                                                                                                                                                                                                                 |
| Value        | 2023-07-01       | string     | The initial date value to be set in the Date Picker component.                                                                                                                                                                                                                                                 |
| Format       | d-m-Y            | string     | The format in which the selected date will be displayed. Default format is d-m-Y.                                                                                                                                                                                                                              |
| Placeholder  | Select date      | string     | The text to be displayed as a placeholder inside the Date Picker component.                                                                                                                                                                                                                                    |
| First Day    | Monday           | string     | Specifies the first day of the week in the Date Picker component.                                                                                                                                                                                                                                              |
| Min Date No. | 1                | number     | The minimum number of days that can be selected from the current date.                                                                                                                                                                                                                                         |
| Max Date No. | 365              | number     | The maximum number of days that can be selected from the current date.                                                                                                                                                                                                                                         |
| Style Class  | datepicker-style | string     | Specifies the style class to be applied to the Date Picker component.                                                                                                                                                                                                                                          |
| ID Prefix    | datepicker\_     | string     | \[Only used when placed inside a 'Datalist' component] Specifies the prefix used for the unique identification of this component inside a datalist. The name identifier of this component will be overwritten with the concatenation of ID Prefix and the value in the data source referenced by the ID Field. |
| ID Field     | data\_id         | string     | \[Only used when placed inside a 'Datalist' component] Specifies the field name from a data source bound to the parent 'Datalist' component. The name identifier of this component will be overwritten by concatenating the ID Prefix and the value in the data source referenced by the ID Field.             |

## Related Actions

## Example Uses

![Example Use 1](https://github.com/OrangeKloud/emobiq-documentation/blob/master/document/client/004-ui-components/forms/datepicker/path/to/screenshot1.png) *Description or caption for example use 1.*

![Example Use 2](https://github.com/OrangeKloud/emobiq-documentation/blob/master/document/client/004-ui-components/forms/datepicker/path/to/screenshot2.png) *Description or caption for example use 2.*

![Example Use 3](https://github.com/OrangeKloud/emobiq-documentation/blob/master/document/client/004-ui-components/forms/datepicker/path/to/screenshot3.png) *Description or caption for example use 3.*

...


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emobiq.com/emobiq-client/004-ui-components/forms/datepicker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
