<@U0F3291QE> This is the view model in its entiret...
# tornadofx
d
@edvin This is the view model in its entirety https://github.com/dustincjensen/assets/blob/master/src/main/kotlin/org/sbt/features/manage_categories/NewCategoryModel.kt If you look at
NewCategoryView.kt
you can see that I save a new category... I think you may be right that I should use rollback instead. I don't want the NewCategoryView to hold onto the values, as they are transient, to be saved into an observable and shown in the
CategoriesView.kt
which exists below the
NewCategoryView.kt
. Perhaps I'm just using the ViewModel wrong.