Hi @Robert Jaros, why when I use a bind with selectInput the options are no longer rendered and the component doesn't work as expected ?
Copy code
val state = FormState().apply {
set("type" to "${FlatTypeEnum.residential}")
}
I tried different options for bind and nothing worked.
Copy code
selectInput(options = FlatTypeEnum.values().map { "$it" to it.translate() }, value = "${FlatTypeEnum.residential}") {
bind(state.getSub("type"), {it?.value}) {//if I use this the options are not shown anymore
this.value = it
}
}