TextField placeholderText not shown when setting inputMask
-
It seems the placeHolderText is conflicting with the inputMast.
I never encountered this problem as I always use a home made text input with a dedicated Text qml item for the placeholder.If you want to stick with TextField, you think this work-around could match your need...
TextField{ placeholderText: qsTr("input your key here.") onActiveFocusChanged:{ inputMask="99999" }
-
It seems the placeHolderText is conflicting with the inputMast.
I never encountered this problem as I always use a home made text input with a dedicated Text qml item for the placeholder.If you want to stick with TextField, you think this work-around could match your need...
TextField{ placeholderText: qsTr("input your key here.") onActiveFocusChanged:{ inputMask="99999" }