How do I get OutLinedTextField to autofocus? I wan...
# compose
n
How do I get OutLinedTextField to autofocus? I want the first TextField effect to be displayed as soon as I enter this screen
1
d
You can add a
FocusRequester
to the
Modifier
And then use a
DisposableEffect
to trigger the requester
Or a
LaunchedEffect
n
thanks It can work