<@U0F3291QE> I am using ControlsFX autoCompletio...
# tornadofx
a
@edvin I am using ControlsFX autoCompletionBinding in a TextField.
Copy code
val under = textfield()
TextFields.bindAutoCompletion(
                            under, FXCollections
                            .observableArrayList(
                        GroupsComboItem("some_id", "some_name", "some_parent")))

data class GroupsComboItem(val id: String, val label: String, val parent: String?) {
    override fun toString(): String {
        return label
    }
}
I want to get the id which I passed on a button click. If I use a combobox instead, I can just simply write
combobox.selectedItem.id
.