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

Support proper form validation #792

Open
nmattia opened this issue Aug 4, 2022 · 0 comments
Open

Support proper form validation #792

nmattia opened this issue Aug 4, 2022 · 0 comments
Assignees

Comments

@nmattia
Copy link
Collaborator

nmattia commented Aug 4, 2022

We don't currently validate inputs like device name in the frontend, which leads to unfriendly behavior (where the frontend assumes everything will be ok but the backend returns an error).

In general, we should have better (HTML) form validation:

  • Device names should not be too long
  • Device names should not start with a space
  • Device names should be somewhat conservative (not $,%, etc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants