jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
281 stars 173 forks source link

[Bug] The text value of PinFieldAutoFill widget gets cleared after calling setState #197

Open devmuaz opened 1 year ago

devmuaz commented 1 year ago

Hi, I'm using this widget PinFieldAutoFill, and everything seems fine... well not everything! I noticed that the text value of the input widget gets cleared when I tried to call setState in order to update other stuff.

Even though I've set a TextEditingController to it, still has the same issue!

This might be a bug because the normal behavior of the TextField or TextFormField have no such issues when updating the UI using the setState.

Any solutions would be so GREAT!!

Zidoun-Abdou commented 11 months ago

I'm facing the same problem, did you find a solution ?

nadabsn commented 10 months ago

did you fix it?

devmuaz commented 10 months ago

@nadabsn apparently this repo hasn't received any recent updates, in my case i switched to another one called pinout