Sencha touch text field text color not reflected on Android devices

I use the text field in the sensory representation of the sench and set the color to white, but it does not accept white and overrides the default black color. How can I change css to reflect this.

xtype : 'textfield', name : 'subject', id : 'interactionSubjectText', clearIcon : true, cls : 'ml', inputCls : 'textColor', 
+4
source share
2 answers

To change the color on an Android device, you must use the css -webkit-text-fill-color css parameter.

In your case, your css file should contain the following class:

 .ml {-webkit-text-fill-color: red;} 

There is a link on the sencha touch 2 forum where I made this decision: sencha touch forum

+1
source

Inspect the text box, apply white color to this class with an important property. Of course it will work.

0
source

Source: https://habr.com/ru/post/1479701/


All Articles