Update: 2026-06-26 01:43:37
This commit is contained in:
@@ -396,7 +396,7 @@ class ReviewDriverPage extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Obx(
|
||||
() => DropdownButtonFormField<String>(
|
||||
initialValue: c.selectedGender.value.isEmpty
|
||||
value: c.selectedGender.value.isEmpty
|
||||
? null
|
||||
: c.selectedGender.value,
|
||||
isExpanded: true,
|
||||
@@ -424,7 +424,7 @@ class ReviewDriverPage extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Obx(
|
||||
() => DropdownButtonFormField<String>(
|
||||
initialValue: c.colorHex.value.isEmpty ? null : c.colorHex.value,
|
||||
value: c.colorHex.value.isEmpty ? null : c.colorHex.value,
|
||||
isExpanded: true,
|
||||
decoration: InputDecoration(
|
||||
labelText: label.tr,
|
||||
@@ -467,7 +467,7 @@ class ReviewDriverPage extends StatelessWidget {
|
||||
padding: const EdgeInsets.symmetric(vertical: 6),
|
||||
child: Obx(
|
||||
() => DropdownButtonFormField<String>(
|
||||
initialValue: ReviewDriverController.kFuelOptions
|
||||
value: ReviewDriverController.kFuelOptions
|
||||
.contains(c.selectedFuel.value)
|
||||
? c.selectedFuel.value
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user