select

fun select()

Selects all the text in the text field.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select