Show combobox's items as a custom node in tornadofx
When use a node to show combobox's items only display the fisrt item I select.
val sspSelected = SimpleStringProperty()
val myItems = FXCollections.observableArrayList("Item 1", "Item 2","Item 3")
combobox(sspSelected){
items = myItems
cellFormat {
graphic = cache{
label(it)
}
}
}
label(sspSelected)
enter image description here▾
<a href="
https://i.stack.imgur.com/HGarV.jpg▾
"...