View Full Version : Customizing field dirty style

10 Apr 2013, 3:42 PM
I've been using 4.x for a while and my app shows dirty fields with a css override on x-form-dirty. Once upgrading to 4.2.0 it no longer works. I'm having trouble finding any documentation on it so maybe it's not supported, but if not is there another way I can do it? Same problem in normal or grey style, chrome and ie8. In chrome I can see that it's the color and font of x-form-item-label that's overriding my style.

Any ideas?

Here's my style, i've tried with and without the !important

color: #043E8B !important;

My css is minimal at this point, only other framework override is x-panel-header. The rest are prefixed with ux and only used when specified.


12 Apr 2013, 11:35 AM
Try with:
.x-form-dirty input

12 Apr 2013, 1:08 PM
Thank you!! That wasn't exactly what I wanted but made the answer pretty obvious: x-form-dirty label

The original suggestion applied the style to the text inside the input field, using label applies it to the field label instead.