and this is the autoCompleteTextField: ``` add(Aut...
# tornadofx
r
and this is the autoCompleteTextField:
Copy code
add(AutoCompleteTextField {enteredText->
            val entry = controller.array
                    .map { it as JsonObject }
                    .filter { x -> x.getString("name").startsWith(enteredText, true) }
                    .map { it.getString("name") }
            entry
        })