Skip to content

Commit 614b509

Browse files
committed
ReactiveCupertinoTypeAhead: listen to formControl.field.enabled property
1 parent c4b7a5b commit 614b509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/reactive_flutter_typeahead/lib/src/reactive_cupertino_typeahead.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class ReactiveCupertinoTypeAhead<T, V> extends ReactiveFormField<T, V> {
162162
return CupertinoTextField(
163163
controller: controller,
164164
focusNode: focusNode,
165-
enabled: enabled,
165+
enabled: field.control.enabled,
166166
decoration: decoration,
167167
padding: padding,
168168
placeholder: placeholder,

0 commit comments

Comments
 (0)