[Expandable Table Row] Expand-all results in empty rows
Question
Forge component by Ruben Meireles

I added an expand-all toggle to a table. This boolean is used as input for the block's input 'IsOpen'.

All rows do successfully open. However, when a single row was already opened, it shows another empty row (indicated in green). This can be repeated multiple times, adding more empty rows. Refreshing the page fixes the view. I think there is some html not being properly cleaned and/or the logic doesn't check if a row is expanded already.

I could probably add an 'isExpanded' attribute to each row and programmaticaly assign the values myself, but I wonder if it's easy to fix in the component?


Edit:

Added OML file for testing.

ExpandableRowTest.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.