decred / politeiagui

ISC License
62 stars 56 forks source link

feat: Add Form validation #2889

Closed victorgcramos closed 1 year ago

victorgcramos commented 1 year ago

This PR adds validation to all forms on politeia, including error messages, and form submission control.

victorgcramos commented 1 year ago

@tiagoalvesdulce This will be added once the user layer gets implemented. Sounds good? We need that to get the password min and max lengths, so I can replace MIN_PASSWORD_LENGTH with the policy values as well