Seems that text selection doesn't work when a TextField is readonly.
I have the following code:
TextInput {
text: "hello world"
readOnly: true
background: Item {
anchors.fill: parent
}
}
And long-pressing the text doesn't do anything at all. As soon as I set readOnly to false it starts working.
| 2 | No.2 Revision |
Seems that text selection doesn't work when a TextField is readonly.
I have the following code:
TextInput TextField {
text: "hello world"
readOnly: true
background: Item {
anchors.fill: parent
}
}
And long-pressing the text doesn't do anything at all. As soon as I set readOnly to false it starts working.