Reputation: 389
How can I change Qml TextField echoMode Password displayed asterisks with another char?
TextField {
id: textId
anchors.fill: parent
font {
pixelSize: 20
}
echoMode: TextInput.PasswordEchoOnEdit
}
Upvotes: 2
Views: 5857
Reputation: 3040
Set the passwordCharacter
property. It is a property of TextInput
, but inherited by TextField
.
Upvotes: 7