Opened 15 years ago

Closed 15 years ago

#2963 closed defect (duplicate)

tundra.css does not allow input fields to change colors based on input

Reported by: Douglas Hays Owned by: itorrey
Priority: high Milestone: 0.9beta
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


The ValidationTextbox? widget tries to change the input element background color based on whether or not the current input is valid, and error, or a warning condition. The tundra.css file hs rules in it that are being ignored because they have a low priority:

.tundra .dojoInputField {

background:#e9e9e9 url("dojoTundraGradientBg.png") repeat-x 0 0;

has a higher priority than

.dojoInputFieldValidationError {


and both classes are on the same node so the original background color is used and not the error background color. I recommend changing the last rule to:

html .tundra .dojoInputFieldValidationError {

Something like

.tundra .dojoInputField[validation="Error"]{ could be made to work but would never work with IE.

Change History (2)

comment:1 Changed 15 years ago by Douglas Hays

Owner: changed from torrey to itorrey

comment:2 Changed 15 years ago by itorrey

Resolution: duplicate
Status: newclosed

This should be fixed when we complete #2799

Note: See TracTickets for help on using tickets.