View Full Version : Get rid of the border from the textbox portion of datefield.

2 Apr 2014, 12:41 PM
I am using Ext.from.field.Date in one of my UI. Is there a way to get rid of border and add some additional styling to the textbox portion of the datefield? I tried modifying the cls config and it didn't work. What's the correct way to do it? Thank you!

2 Apr 2014, 2:02 PM
Specifying the cls config should work but your css rule has to include the text field. This works for me.


You'll have to decide whether this is a one off thing and only this one field will be styled like this. If you want every one styled, you might be better off creating a new theme or at least rules scoped directly to the classes Ext is using so you don't have to specify cls everywhere.

3 Apr 2014, 7:29 AM
Thank you forefoxSafari! It works!