Skip to content

Add basic form validation styling #27

Description

@jlandfried

Right now out of the box there's no styling for basic form validation elements, it'd be nice to not have to start from scratch with this on each project.

At the very least we could handle:

  • Labels for required fields
    • Just an asterisk to the right of the label (span.form-required)?
  • Indication for inputs that don't pass form validation
    • Just a red outline around the input with a .error class?

Feel free to add any other things that might be useful here, but these are the ones that jumped out at me.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions