select

fun select()(source)

Selects all the text in the text field.

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