File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,15 +110,15 @@ class _FormBuilderTypeAheadState extends State<FormBuilderTypeAhead> {
110
110
},
111
111
// initialValue: widget.initialValue,
112
112
autovalidate: widget.autovalidate,
113
- textFieldConfiguration: TextFieldConfiguration (
113
+ textFieldConfiguration: widget.textFieldConfiguration. copyWith (
114
114
enabled: ! _readonly,
115
115
controller: _typeAheadController,
116
116
style: _readonly
117
117
? Theme .of (context).textTheme.subhead.copyWith (
118
118
color: Theme .of (context).disabledColor,
119
119
)
120
- : null ,
121
- focusNode: _readonly ? AlwaysDisabledFocusNode () : null ,
120
+ : widget.textFieldConfiguration.style ,
121
+ focusNode: _readonly ? AlwaysDisabledFocusNode () : widget.textFieldConfiguration.focusNode ,
122
122
decoration: widget.decoration.copyWith (
123
123
enabled: ! _readonly,
124
124
),
You can’t perform that action at this time.
0 commit comments