jifalops / simple_autocomplete_formfield

A Flutter widget that wraps a TextFormField and assists with autocomplete functionality.
MIT License
42 stars 16 forks source link

onChanged works only if item from list is selected #14

Open maciey opened 3 years ago

maciey commented 3 years ago

Assume we have suggestion list as follow: A,B,C all works if I select A-C, but when I type D still can see this in widget but onChanged / onSaved has null value

How to play with this ?

timohtey commented 3 years ago

For this one, I just configured a TextEditingController and retrieved the entered text via the TextEditingController (textEditingController.text)

mauricev commented 1 year ago

I can confirm that the code is broken and onchanged doesn't get in responses to user typed changes in the text.