This commit is contained in:
2025-03-23 16:15:19 +02:00
parent 87fd26a4ae
commit aad7ed665c

View File

@@ -98,7 +98,7 @@ class AstromicFormController extends FormController {
T? getValue<T>(String id) {
prepareValue(id, false);
if (_hostedValues[id]?.$1 is T?) {
if (_hostedValues[id]?.$1 is (T?, bool)) {
return _hostedValues[id]?.$1;
} else {
throw FlutterError('Value found but is not of the type $T, it\'s of type ${_hostedValues[id]?.$1.runtimeType}');