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

Custom positioning for error messages #21

Open
zizther opened this issue Jul 24, 2012 · 2 comments
Open

Custom positioning for error messages #21

zizther opened this issue Jul 24, 2012 · 2 comments
Labels

Comments

@zizther
Copy link

zizther commented Jul 24, 2012

Add the ability to place the error message before or after the input. Sometimes it is nice that it floats next to the input, so maybe the error message can be placed inside a certain element.

@wraithgar
Copy link
Contributor

There was a PR that changed the default behavior to after, and it was an accessibility fix which ranks pretty high IMO.

I don't really want to add a funky config option to change that to before or after, but maybe being able to pass in a selector would allow everyone the flexibility they need if .after() doesn't work for them.

@beerendlauwers
Copy link

The errorTarget option is also available on the field level. I just use that to direct my error messages on a per-field basis.

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

No branches or pull requests

3 participants