In Vaadin 7 if you were using the
FieldGroup
API and wanted to discard the changes, you could just call the
discard
method.
In Vaadin 8 I could not find any support in the
Binder
API. Currently I am reading the bean again if I want to discard the changes. Is there another official way? Did I miss something in the docs?
Thanks!
I think that’s a perfectly valid way of dealing with it.
-Olli