Hi all
In older versions of Adapt (framework v.2-4-0, AT v.0-8-0), it was possible to do this:
adapt.findById('5f8955a59dc1ee04ac98a044').attributes._items[0].body = '<p>New body text</p>';
to change the item body text inside an Accordion, and when the user navigated to the page with the Accordion, the component was rendered with the updated body text.
But this doesn't work in Framework version 5.7.0 (AT v. 0.10.4). The components model is updated, but it is not rendered with the new text.
However, it works fine to update the Display Title like this:
adapt.findById('5f8955a59dc1ee04ac98a044').attributes.displayTitle = 'New Display Title';
Should I be doing something special to update the Accordion's item body text in the new version of Adapt?
Thanks alot