andz-bb / budibase-component-accordion

A simple collapsible container for Budibase
12 stars 3 forks source link

Not working inside Repeater for text fields #4

Open AlejandroFNadal opened 1 year ago

AlejandroFNadal commented 1 year ago

Hello, great work on this plugin! However, I suspect it is not working inside repeaters. The title for the accordion is taken from the repeater values, but text field elements inside the accordion do not get the repeater data.

I hope you can give this a check, and thanks for your work so far!

andz-bb commented 1 year ago

hey @AlejandroFNadal, thanks for trying my component and for your feedback!

I gave this a go on my end but wasn't able to recreate the issue you're seeing where repeater data is not available to accordion child components.

accordions

Could you share a bit more about your screen setup? I'll have a closer look and see if I can replicate your exact setup to fix it.

AlejandroFNadal commented 1 year ago

Hi, thanks for your prompt reply: image Here there is an example with a paragraph and a long text field.

The long text field shows the same value for all elements of the repeater (the first element) image

I am using the exact same string for these two elements:

{{ NoteRepeater.notes.Text }}