https://kotlinlang.org logo
#kvision
Title
# kvision
r

Robert Jaros

04/07/2020, 4:26 PM
Copy code
var searchInput: TextInput? = null

// ....

searchInput = textInput(type = TextInputType.SEARCH) {
// ...
}

//...
fun clear() {
   searchInput?.value = null
}