Join Slack
Powered by
Anyone know how to select all the text in a text f...
# compose
r
robnik
02/28/2021, 8:17 PM
Anyone know how to select all the text in a text field, when it gets focus? I've tried using
TextFieldValue.selection
and changing it in
Modifier.onFocusChanged
but no luck so far.
r
Rahul Sainani
02/28/2021, 8:52 PM
Maybe this helps -->
https://developer.android.com/jetpack/compose/text#select-text
518
Views
Open in Slack
Previous
Next