to set a disabled text widget to red but its not working. I want just the input to be red not the whole containter. Ive tried various variations of the css but with no luck. If the text widget is editable the css
.ErrField input{
background: red;
color: white;
}
works fine but does not work with a disabled text widget.
So then you can change the color of the particular text widget using its id.
Here is an example Code Snippet
Also instead of addCss you can set css property directly in the text widget Code Snippet
that however changes the color for all disabled text widgets. I want to just set a particular text widget to red depending on the value using the addCss and removeCss