Date Control
Date picker for date selection.
Options
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
label | string | - | Field label |
control | string | date-picker | Control type |
dateFormat | string | - | Format (e.g., “DD/MM/YYYY”) |
default | string | - | Default date |
Example
Section titled “Example”{ "attributes": { "eventDate": { "type": "string", "default": "", "wbs": { "label": "Event Date", "control": "date-picker", "dateFormat": "DD/MM/YYYY" } } }}Template Usage
Section titled “Template Usage”<div class="event-date"> <span class="date">{{ attributes.eventDate }}</span></div>Use Case
Section titled “Use Case”Use Date for event dates, publication dates, deadlines, or any date selection needs. Combine with Time control for datetime selection.