|
|
|
|
@ -42,7 +42,6 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
|
|
|
|
|
dynamic country;
|
|
|
|
|
|
|
|
|
|
//var countryName = ["Saudi Arabia", "UAE"];
|
|
|
|
|
bool isSubmitted = false;
|
|
|
|
|
|
|
|
|
|
TextEditingController _phoneController =
|
|
|
|
|
@ -255,6 +254,11 @@ class _RegisterSearchPatientPageState extends State<RegisterSearchPatientPage> {
|
|
|
|
|
setState(() {
|
|
|
|
|
isSubmitted = true;
|
|
|
|
|
});
|
|
|
|
|
if (country == null) {
|
|
|
|
|
countryError = TranslationBase.of(context).fieldRequired;
|
|
|
|
|
} else {
|
|
|
|
|
countryError = null;
|
|
|
|
|
}
|
|
|
|
|
if (isFormValid()) {
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
CheckPatientForRegistrationModel
|
|
|
|
|
|