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

Input "Form" Validation #108

Open
GlenDC opened this issue Sep 1, 2015 · 1 comment
Open

Input "Form" Validation #108

GlenDC opened this issue Sep 1, 2015 · 1 comment

Comments

@GlenDC
Copy link
Owner

GlenDC commented Sep 1, 2015

  • Make sure to allways allow empty fields, such that the user can always erase the entire field via backspace, without automatically adding a default value (this is just annoying)
    • This might mean that for things such as creating a new document we might want a new alias type, such as DocumentDescription { ... } so that we an store all it's field as Nothing.
    • Perhaps we even want a general Form type alias that can automate the entire updating and invalidating of things
  • Input fields (+ label) should have an invalid state (that also show an error message)
  • Disable form button when a label is invalid
@GlenDC
Copy link
Owner Author

GlenDC commented Sep 3, 2015

Validation works, and a basic form system is implemented. Now we still need to expand the layout system:

  • Input fields need to get optional error messages (with an svg icon)
  • Buttons need a disable option that's visually clear
  • Styling for these changes is needed as well.

This issue can probably be solved while solving #109 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant