-
I am experiencing errors when I use a language toggle which change a language value in the alpine js object. `
|
Beta Was this translation helpful? Give feedback.
Answered by
Rashuoo7
Sep 12, 2023
Replies: 1 comment 5 replies
-
This is because your key is the index, so when templates are getting moves and changed it loses it's references. It should be harmless as it should be fixing itself, but that is the cause. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was the culprit. I replaced @entangle('language').live with 'hindi' as default value.
language: @entangle('language').live