Bug Tracker

Opened 15 years ago

Closed 15 years ago

#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:
Blocked by: Blocking:


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.


Change History (1)

comment:1 Changed 15 years ago by joern

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.