update queue date field to be reuired.

update searchfield to not submit when nothing is entered.
This commit is contained in:
2024-08-12 17:16:31 +02:00
parent 1a0f696db1
commit 444ad269ae
4 changed files with 11 additions and 10 deletions

View File

@@ -179,12 +179,11 @@ class _PatientManagerState extends State<PatientManager> {
MySearchField(
controller: searchController,
hintText: "ID or Medical Aid No. Search",
required: false,
required: true,
editable: true,
onTap: () {
submitPatientForm();
},
onChanged: (value) {},
),
//spacer
const SizedBox(height: 10),
@@ -307,7 +306,7 @@ class _PatientManagerState extends State<PatientManager> {
MyDateField(
controller: queueDateController,
LableText: "Date",
required: false,
required: true,
),
//spacer
const SizedBox(height: 10),