Hey campers! I am having trouble updating my Vue JS component to show and hide – it is like an accordion in Bootstrap but I don’t want to use jQuery. it works with initial data but when you dynamically add a new element to the DOM, the click even fires but the show/hide doesn’t work.
Basically, if you copy and paste the JSON data in the demo into the textarea and click the submit button, then it updates the table with the data. However the show/hide functionality wont work even though when inspecting the Vue dev console, the data properties do change… weird… Can anyone help?
**SOLVED by extending the new JSON object with an isOpen property to toggle hide and show **