Search code examples
javascriptextjssencha-cmd

Dynamic text Field Color changing


I wanna chage the color of an ExtJs text Field, named filter, after the Input of a particular string for Example if I input 'type:' the tex color should change


Solution

  • In ExtJS 6.0.1:

    textfield.inputEl.setStyle("color", "#f00")