Replies: 1 comment 10 replies
-
The issue is you're using Could just do |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello AlpineJS Community!
I've got a JS Bin here that evidences an issue I'm running into.
https://jsbin.com/gesusib/1/edit?html,output
I have a model that is used to populate some simple markup via x-for, but when I substitute the model's data (in this case with empty arrays and so forth) after it has initialized (successfully), it dies with a multitude of null references.
What is the correct approach to achieve what I'm after? The model is the way it is, because of how the various back-ends populate the template. Ideally, I can make this work with the structure in the JS Bin.
For completeness, code also below.
With thanks!
Beta Was this translation helpful? Give feedback.
All reactions