How to disable a TextField
Solved
QML and Qt Quick
-
I would like to disable a TextField depending on the value of a variable. I thought I could do something like:
TextField { disabled: varname ? false : true }
But it seems that does not exist?
-
Hi! The property you want to use is
enabled
:TextField { enabled: varname ? true : false }
-
This post is deleted!