1 Reply Latest reply on Feb 25, 2009 7:23 AM by Anton Belevich

    rich:combox inputstyle only set onfocus/click

    Sascha Janz Master

      i got a dynamically created rich:combox

      with setinputstyle("background-color:yellow");

      but the color is only set if i click into the box.

      what is missing?

        • 1. Re: rich:combox inputstyle only set onfocus/click
          Anton Belevich Novice

          Hi AJanz,

          this happens because of implementation specific of combobox ...

          combobox has three states active (component has focus), inactive (component has no focus), disable ... So "inputStyle" applied on active state, "inputInactiveStyle" on inactive and the same for the "inputClass", "inputInactiveClass" ... in your case set setInputInactiveStyle("background-color:yellow") too.