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
I'm using @click="doAction().then(close)" for closing modal windows after successfully finishing async actions. A workaround for exceptions in doAction to be captured by errorHandler is to add () => in the event handler, but it's not obvious.
The text was updated successfully, but these errors were encountered:
So why exactly isn't there a return in the generated code in the second case, but there is one in the first case? Is this behaviour documented somewhere?
Version
2.6.11
Reproduction link
https://jsfiddle.net/adamsol/hj6q32v0/
Steps to reproduce
Click the three buttons.
What is expected?
Exceptions for all the buttons should be captured and displayed below.
What is actually happening?
Exception for the second button isn't captured.
Related to #7653.
I'm using
@click="doAction().then(close)"
for closing modal windows after successfully finishing async actions. A workaround for exceptions indoAction
to be captured byerrorHandler
is to add() =>
in the event handler, but it's not obvious.The text was updated successfully, but these errors were encountered: