Use the date
type for date
doctrine fields.
Included in the PerformBaseBundle.
If true, use the interactive datepicker to set the value in forms.
This option is optional.
Allowed types: boolean
Defaults:
true
true
true
true
An array of options to pass to the datepicker form type, if used.
This option is optional.
Allowed types: array
Defaults:
['format' => 'dd/MM/yyyy', 'pick_time' => false]
['format' => 'dd/MM/yyyy', 'pick_time' => false]
['format' => 'dd/MM/yyyy', 'pick_time' => false]
['format' => 'dd/MM/yyyy', 'pick_time' => false]
The format to use when displaying the value, using PHP’s date()
syntax.
See https://php.net/date for more information.
This option is optional.
Allowed types: string
Defaults:
'd/m/Y'
'd/m/Y'
'd/m/Y'
'd/m/Y'
Show the data as a human-friendly string, e.g. 10 minutes ago.
This option is optional.
Allowed types: boolean
Defaults:
false
false
false
false
The label to use for form labels and table headings. If no label is provided, a sensible label will be created automatically.
This option is optional.
Allowed types: string
Defaults: