release apk
All checks were successful
Release / meta (push) Successful in 24s
Release / linux-build (push) Successful in 1m15s
Release / android-build (push) Successful in 48m22s
Release / release-dev (push) Successful in 6s
Release / release-master (push) Successful in 59s

This commit is contained in:
2025-12-14 10:05:01 +00:00
parent f0dfbd185b
commit eb01cf0e8e
4 changed files with 195 additions and 100 deletions

View File

@@ -721,13 +721,11 @@ class _TractionPageState extends State<TractionPage> {
if (field.enumValues != null && field.enumValues!.isNotEmpty) {
final options = field.enumValues!.map((e) => e.toString()).toSet().toList();
final currentValue = _enumSelections[field.name];
if (currentValue != null && !options.contains(currentValue)) {
options.insert(0, currentValue);
}
final safeValue = options.contains(currentValue) ? currentValue : null;
return SizedBox(
width: width,
child: DropdownButtonFormField<String?>(
value: currentValue,
value: safeValue,
decoration: InputDecoration(
labelText: field.display,
border: const OutlineInputBorder(),