https://kotlinlang.org logo
#tornadofx
Title
# tornadofx
m

Marcin Wisniowski

08/29/2020, 9:06 PM
I have an edit button that starts a dialog window asking for some input. What's the best way to pass the input back from the dialog window to the original window? I could use the event bus but that doesn't seem clean.
m

melatonina

08/30/2020, 12:48 PM
A property in a ViewModel?
1
m

Marcin Wisniowski

08/30/2020, 5:38 PM
Thank you
m

Marshall

08/31/2020, 1:11 PM
that's the way I do it
actually, just a property in the dialog view
3 Views