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
When the editor dialog is closed via the 'Cancel' button, the CancelEvent is fired properly, which runs the code at Crud.java:188 which ultimately clears the editor.
However, when Esc is pressed, the CancelEvent is not fired and the editor is not cleared. Later, when the 'Create/New' button is pressed, the event handler at Crud.java:171 reads the current editor item via e.getItem(), finds that it is not null and edits the bean instead (this is actually weird since New should always create a new empty bean instance...).
This has been reported by a customer via Expert Chat. Bakery for Vaadin 14. Please follow these steps:
the form is opened but the fields are not empty: they are filled with the values from the previous record
The text was updated successfully, but these errors were encountered: