-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.0.0 #80
Conversation
Questions: Should we implement |
Yup, i think so. |
Should the invalid answer disappear? Might be good to keep showing it so that user can see what their mistake was |
I was thinking about that @lukeed. Not sure what's best. I just want to make sure people don't think it's validating as you type |
We can colorize the answer red while showing the fresh error message. That way there's also a visual cue on the input itself? |
yeah and have the default color return as you start typing. Good idea |
@lukeed if we color the answer on an error we can't clear the input tho |
@terkelg not sure what you mean? Recoloring the text should be possible, and I would enforce user to press backspace until clear. Then any value change (backspace or new additions) would reset the color. Just my 2¢, can do whatever you feel works best 👍 |
Can you guys please check the latest version? |
Other improvements/additions:
TextPrompt
andNumberPrompt
now have avalidate
option.AutocompletePrompt
.