Skip to content

Commit 0ccb66d

Browse files
authored
Merge pull request #1979 from PrestaEdit/patch-52
feat: add type options to DatePickerType
2 parents d1ff248 + cabeb5e commit 0ccb66d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

development/components/form/types-reference/date-picker.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ title: DatePickerType
77
DatePickerType creates a field with a date picker. It uses Javascript,
88
but doesn't require any specific components, as it's already enabled globally.
99

10-
## Custom options
10+
## Type options
1111

12-
None.
12+
| Option | Type | Default value | Description | |
13+
|:--------|:------|:---------------------------------|:----------------------------------------------------------------------------------------------------|:---|
14+
| date_format | string | YYYY-MM-DD| Date format. Must be provided in javascript supported type. | |
1315

1416
## Required Javascript components
1517

0 commit comments

Comments
 (0)