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
When using controlled textField, setState does not update the actual value of the textField, or TextArea. I found out that setState does not update the ui even if I put my state to the title of the textField
Hey @guo40020! Thanks for the report. For some reason, your code works fine for me. Probably I'm doing something wrong to reproduce it, could you please share more details? probably a screencast of the issue will help.
Thanks for reply! Actually the problem that I was running in was that I was trying to limit the Clash port TextField to accept only numbers but I found that the actual state behind it was correct but the value of the TextField was not controlled by the state.
Activity
mattisssa commentedon Feb 18, 2022
Hey @guo40020! Thanks for the report. For some reason, your code works fine for me. Probably I'm doing something wrong to reproduce it, could you please share more details? probably a screencast of the issue will help.
kellyiscute commentedon Feb 19, 2022
Thanks for reply! Actually the problem that I was running in was that I was trying to limit the Clash port
TextFieldto accept only numbers but I found that the actual state behind it was correct but the value of theTextFieldwas not controlled by the state.Screenshot:

Update Teak: palette colors, faster start and fixes (#33009)