-
Notifications
You must be signed in to change notification settings - Fork 72
Support async-validate emails #59
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
Conversation
|
Great work! Thank you. |
Thanks for your feedback. I think some users may not like that the spinner is in the EmailComponent. And some users might want to change their spinner's style. So, I created an enableSpinner flag so that the spinner does not come out when the value is false. I think users can use their spinner in the way below. And users who want to spinner of ReactMultiEmail, just can write this. The below gif is the demo using the spinner that I made. (I didn't use react-spinner or other libs because I think we should keep no-dependency. Otherwise, just let me know). Please let me know if spinner's design doesn't suit here or if there are other issues. |
|
@jopemachine Can you update the package to capture the onChange of the value typed in the input box? |

Changes
Notes
I tested this after removing node-sass due to
node-sassissue.Please let me know if node-sass should be removed from dev-dependency.
Manual Test
Test code
Result
An email was added when the validation returned true one second after entering the enter.