$watch doesn't return the old value #3467
Unanswered
Babelfisch
asked this question in
5. Bugs
Replies: 3 comments 5 replies
-
Alpine has issues closed. Only discussions. Technically, your code is working, and it is returning the old value. The old value is also the same object as the new value. |
Beta Was this translation helpful? Give feedback.
5 replies
-
@Babelfisch we are now using discussions to track bugs and ideas instead of issues. See this announcement for more details #1423 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am facing the same issue. Is there any known workaround? How can i get the old value of the json object? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried this simple code of the
$watch
documentation for deep watching:The expected output is:
But the real output is:
Tested with Safari and Chrome and AlpineJS 3.12.0 and 3.11.1
BTW: Why it's not possible to open a issue?
Beta Was this translation helpful? Give feedback.
All reactions