Repeating group closes item when other is opened

hi there

i made a repeating group with a collapsible part. when you click on item 1 the hidden items are shown, if you click it again its closed again. but when I click on another one the first one stays open.

is there a way to make the fitst one close when you open the second one?

further more, is there a way that when the scroll bar is shown it does not push everything to the right but with the idea the the arrow is placed on the richt side?

example :
gif-dropdownb

What you’re looking for is only one expanded item in the repeating group at a time and all the rest is collapsable, right?

If yes, what you can have is

  • A custom state on the repeating group with the datatype you’re using here (e.g. company datatype)
  • When clicking on the group or the icon expand, trigger a workflow that set the custom state of the repeating group to be the current cell datatype (e.g. current cell company)
  • On the group you’re showing, have a condition to only visible when current_cell_company == repeating group company

For the scrolling bar, try adding this html code to the page or the global html header
body {
height: 100vh !important;
width: 100vw !important;
}

You can use state to solve open close issue.

thanks solved it

1 Like

Glad that it solved it for you! :pray:

This topic was automatically closed after 70 days. New replies are no longer allowed.