Hi,
I am using the following sample code:
App {
Page {
// remove focus from textedit if background is clicked
MouseArea {
anchors.fill: parent
onClicked: textEdit.focus = false
}
// background for input
Rectangle {
anchors.fill: textEdit
anchors.margins: -dp(8)
color: "lightgrey"
}
// input
AppTextEdit {
id: textEdit
width: dp(200)
placeholderText: "What's your name?"
anchors.centerIn: parent
}
}
}
How can I add a visible cursor to this field? At this point I can type into the field and the placeholder disappears, but the cursor is never visible.
Thank you for your help.