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
Use form for the demo #1
Comments
No necessary need for a form here probably, you could also just catch the enter action and submit the Function that way, though I believe that this change would not provide a ton of value for the algorithm itself |
@PrivFelixKniest yes. This feature is not necessary but still counts as UX improvement. Using form is more accessible and will still work if there are more fields added in the future. I am still exploring the algorithm. I felt like this is a nice feature to have and took hardly 5 minutes to implement so I opened a PR. Doesn't hurt to have it 😃 |
yup, I can look over the PR aswell if you want to tag me, I guess josh has to review it anyways though |
Ah wait yeah I found it |
Use form for the demo so as to enable
checkProfanity
mutation to be run when the user presses theenter
key.The text was updated successfully, but these errors were encountered: