Hello - in a repeating group I want to show each entry’s descriptive text as a snippet with a “show more” icon so the user can expand the text to its full length. Each entry’s descriptive text can vary substantially, from a sentence to multiple paragraphs.
Are my only two options here:
a) Create two text elements – one for the snippet text (using the “cut off content if the element is not tall enough…” option), and one for the full text, and then show/hide the elements based on whether I’m showing the short or full version
b) Create a condition on the text element where the text source changes and use the :truncate function to have a short vs. full version.
I’m asking because neither of these options allow you to create a snippet that has a consistent min/max height. So if I want my snippet to be tall enough for 5 lines, but shorter if the full text is less than that, the above approaches don’t work.
Am I missing any options here? Thank you.