disable input without hiding it

is there a way to disable a input without hiding it?

You can use disableItem() method:


That doesnt work, cant find method or funtion for this object.

already have it working with this:

but where can i change the css so the input looks darker when its disabled?

fyi the correct method name is