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 want to change the text color when user typing. Yellow color for "valid" input, Red for "invalid". To simplify the problem, here I use len(text) < 3 for "invalid".
The problem is after choosing the suggested Item with Tab key, the text becomes Green, and after press "Enter" to execute it, the text becomes Red. I expected it always in Yellow because the suggested item is "valid".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to change the text color when user typing. Yellow color for "valid" input, Red for "invalid". To simplify the problem, here I use
len(text) < 3
for "invalid".The problem is after choosing the suggested Item with Tab key, the text becomes Green, and after press "Enter" to execute it, the text becomes Red. I expected it always in Yellow because the suggested item is "valid".
Beta Was this translation helpful? Give feedback.
All reactions