Hide the cursor in date selection, date is selected via the dialog

This commit is contained in:
Roland Geider
2021-08-30 19:49:15 +02:00
parent 296122900b
commit 0fed28cd35

View File

@@ -162,6 +162,7 @@ class MeasurementEntryForm extends StatelessWidget {
children: [
TextFormField(
decoration: InputDecoration(labelText: AppLocalizations.of(context).date),
readOnly: true, // Hide text cursor
controller: _dateController,
onTap: () async {
// Stop keyboard from appearing