|
|
|
@ -666,7 +666,9 @@ class _UpdatePrescriptionFormState extends State<UpdatePrescriptionForm> {
|
|
|
|
child: TextField(
|
|
|
|
child: TextField(
|
|
|
|
decoration: Helpers
|
|
|
|
decoration: Helpers
|
|
|
|
.textFieldSelectorDecoration(
|
|
|
|
.textFieldSelectorDecoration(
|
|
|
|
widget.startDate,
|
|
|
|
Helpers.getDateFormatted(
|
|
|
|
|
|
|
|
DateTime.parse(
|
|
|
|
|
|
|
|
widget.startDate)),
|
|
|
|
selectedDate != null
|
|
|
|
selectedDate != null
|
|
|
|
? "${DateUtils.convertStringToDateFormat(selectedDate.toString(), "yyyy-MM-dd")}"
|
|
|
|
? "${DateUtils.convertStringToDateFormat(selectedDate.toString(), "yyyy-MM-dd")}"
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|
|