working with TextInput{}
-
wrote on 12 Nov 2019, 21:27 last edited by Circuits 11 Dec 2019, 21:27
I was browsing the docs on
TextInput{}
and I am a bit confused by something. There seems to me to be a clickable area but there is noonClicked
property. I would like to setup theTextInput{}
s/t when a user clicks inside the box, instead of placing the cursor, it highlights the whole string. Is that possible? -
wrote on 13 Nov 2019, 06:51 last edited by
TextInput { ... onActiveFocusChanged: { if (activeFocus) { selectAll(); } } }
-
wrote on 15 Nov 2019, 15:47 last edited by
Perfect, thank you.
1/3