Bug Tracker

Modify

Ticket #1842 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by joern

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.