You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.
The proper way to approach this is to create a FolderViewModal that extends ItemViewModal and inject that into your FolderView and bind it there. Then you can set the item of the FolderViewModal as needed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using this guide: https://docs.tornadofx.io/0_subsection/11_editing_models_and_validation
I created a custom View that displays a "FolderModel" class, which holds a
nameProperty
and apathProperty
.In the example
binds both String properties to the appropriate fields and unbinds the previous selection as needed.
When trying to recreate this, I run into the problem of unbinding the previous model from the textfield bound to it:
What's the proper way to unbind an ObjectProperty from a TextField after it's bound using a StringConverter?
The text was updated successfully, but these errors were encountered: