RepeaterEntry Action - How to get item data?
I hope someone can, help.
In short I am displaying dropbox files on an infolist RepeaterEntry. I have added an Action button to download the file linked to it. I need to however get that specific row item data and im pulling my hair out on this one.
The suffix action is half way there but I actually also need to know the ''type'' so I know if I am downloading a file or folder. Does anyone know how to get the whole repeater item data?
Solution:Jump to solution
as always found the answer after posting. If anyone else needs it though here is answer:
```
->action(function($arguments, $component){
if($component->getState()->type == 'folder') {...
1 Reply
Solution
as always found the answer after posting. If anyone else needs it though here is answer: