forked from vikunja/app
format
This commit is contained in:
parent
29a9545cd4
commit
ab67a5fb4c
|
@ -23,8 +23,11 @@ class VikunjaDateTimePicker extends StatelessWidget {
|
||||||
padding: padding,
|
padding: padding,
|
||||||
child: DateTimePickerFormField(
|
child: DateTimePickerFormField(
|
||||||
dateOnly: false,
|
dateOnly: false,
|
||||||
editable: false, // Otherwise editing the date is not possible, this setting affects the underlying text field.
|
editable:
|
||||||
initialValue: initialValue == DateTime.fromMillisecondsSinceEpoch(0) ? null : initialValue,
|
false, // Otherwise editing the date is not possible, this setting affects the underlying text field.
|
||||||
|
initialValue: initialValue == DateTime.fromMillisecondsSinceEpoch(0)
|
||||||
|
? null
|
||||||
|
: initialValue,
|
||||||
format: vDateFormatLong,
|
format: vDateFormatLong,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
labelText: label,
|
labelText: label,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user