Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#4996 closed bug (wontfix)

datepicker: beforeShowDay class applies to TD and child A overrides it

Reported by: dmfontz Owned by:
Priority: minor Milestone:
Component: ui.datepicker Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

when applying a class via the beforeShowDay option, the class is applied to the TD for the given day. However, there is an A element inside the TD that also has a class of ui-state-default. The class on the A element prevents styling (eg. backgrounds) from showing properly.

Change History (2)

comment:1 Changed 13 years ago by kbwood

Resolution: wontfix
Status: newclosed

You can override the embedded A's styles too (it may need to be qualified by the datepicker ID or class):

.customClass a { background: transparent; }

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.