Skip to content
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

Add input validation in create survey page #76

Closed
Ryczko opened this issue Mar 17, 2023 · 0 comments · Fixed by #107
Closed

Add input validation in create survey page #76

Ryczko opened this issue Mar 17, 2023 · 0 comments · Fixed by #107
Assignees

Comments

@Ryczko
Copy link
Owner

Ryczko commented Mar 17, 2023

On survey creation page currently, when the user does not enter a title, the create button is blocked, but the user is not informed why.

After the user starts completing the input and leaves it empty or clicks the create input button, we should display a message, e.g. add a red border and text with information that the field is required.

If necessary, we can use an external library. It would be good to create a solution that will allow you to easily extend validation in the future, for example, when we will want to validate other fields.

@a-lukasiewicz a-lukasiewicz self-assigned this Mar 23, 2023
@a-lukasiewicz a-lukasiewicz linked a pull request Mar 23, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants