Modify ↓
Ticket #1842 (closed bug: invalid)
On validator plugin, it create a class for error and the input
| Reported by: | alexanmtz | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | |
| Component: | plugin | Version: | |
| Keywords: | validate | Cc: | |
| Blocking: | Blocked by: |
Description
The plugin validator has a mistake because when we make a css for the error response, we expect that we are stylizing just the label of error, but the plugin add a class of error in input element. This way, when we stylize the error message to float for the left for example, we have a weird behave because the input float too. I remove the line 667 of the plugin to made it works.
Thanks.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

That isn't a mistake. All you need to do is specifying a better CSS selector. Instead of just using ".error", use "label.error". And you can style the input differently using "input.error".
Please reopen the ticket if that doesn't help you.