You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build a instance of FormBuilderTypeAhead with a custom controller, but it breaks at flutter_form_builder/src/fields/form_builder_typeahead.dart:173:32.
Apparently the package is not initializing the variable _typeAheadController if a custom controller is provided.
Apparently there is a patch, in selectionToTextTransformer attribute selectionToTextTransformer: (dynamic val) { //you can update the controller manually here (controller.text = val.toString()) return val.toString(); },
I'm trying to build a instance of FormBuilderTypeAhead with a custom controller, but it breaks at
flutter_form_builder/src/fields/form_builder_typeahead.dart:173:32
.Apparently the package is not initializing the variable
_typeAheadController
if a custom controller is provided.My code is as follows:
The text was updated successfully, but these errors were encountered: