View Full Version : fieldCls is not working

5 May 2012, 4:20 AM
Hello, I have my own css file with the style:
background-color: #D0E2E8;
background-image: none;
On my textfield, I wanna apply this css using the property fieldCls, but is not working.
How can I apply this css style to my field?
If I use the follow line, it works correctly:
fieldStyle : 'background-color: #D0E2E8; background-image: none;'

7 May 2012, 6:12 AM
What version are you using? I just tested with 4.1.0 and the <input> element got the CSS class I specified.

7 May 2012, 9:24 AM
Im using 4.0.7

7 May 2012, 12:38 PM
So I'm not able to reproduce as the fieldCls class is placed on the <input> element.