<@U7XD1CKMG> Binding towards a list works, but you...
# tornadofx
e
@plebian Binding towards a list works, but you got to consider what's happening. If you do
val list = bind(SomeObject::list)
, you will get a
Property<ObservableList<SomeObject>>
. That property will contain the original list. If you make changes to the actual list, you're modifying the original list. If you however change
list.value
in your viewmodel to some other list, this list will be pushed back into the domain object on commit, just like any other property.