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