How to access $state inside a Repeater item ->collapsed()
Hello.
So I can access
$state
to set the ->itemLabel()
But I don't know how to access $state
to set ->collapsed()
to true
of false
depending on $state['done']
This is my code:
Thanks.2 Replies
Collapsible applies to the repeater not to each individual item.
Yeah, that's what I saw by debugging. I just didn't find the words in english to explain my self.
Is there a way to access to each item data? Or maybe just knowing the index since I can use something
$get("items.$index.done")
What I want to achieve is to make items that are "done" collapsed.