This commit is contained in:
Hamza-Ayed
2024-08-11 14:24:57 +03:00
parent 2468e6466f
commit d43c421dc3

View File

@@ -566,7 +566,9 @@ class RegisterCaptain extends StatelessWidget {
), ),
TextFormField( TextFormField(
initialValue: controller initialValue: controller
.owner.value.isNotEmpty .expirationDate
.value
.isNotEmpty
? controller ? controller
.responseIdCardDriverEgyptFront[ .responseIdCardDriverEgyptFront[
'expiration_date'] 'expiration_date']
@@ -577,7 +579,8 @@ class RegisterCaptain extends StatelessWidget {
labelText: labelText:
'expiration_date'), 'expiration_date'),
onChanged: (value) => controller onChanged: (value) => controller
.owner.value = value, .expirationDate
.value = value,
), ),
TextFormField( TextFormField(
initialValue: controller initialValue: controller
@@ -617,8 +620,8 @@ class RegisterCaptain extends StatelessWidget {
.addDriverEgyptHanding(); .addDriverEgyptHanding();
await controller await controller
.addRegistrationCarEgyptHandling(); .addRegistrationCarEgyptHandling();
await controller // await controller
.getDriverNotCompleteRegistration(); // .getDriverNotCompleteRegistration();
Get.back(); Get.back();
}, },
kolor: AppColor.greenColor, kolor: AppColor.greenColor,