I have a repeater design where a moving input creates chips (rows) within an input. The input scales to the number of chips the input contains when in edit mode/focused.
The behavior intended is when focus is lost the input reduces to only show the first 3 chips - and then expand back to full size on focus. Currently the border of the input is controlled by a dynamic panel that expands to the contents within it.
It seems like the easiest way to do this would be to filter all but the first 3 rows - but the design also includes the ability to delete rows. So even if I set up the repeater to assign a number to a row when a row is added - if the user deletes one in the middle the count is going to be non-sequential/broken.
Is there any way to tell Axure to filter (hide/show) only the first 3 rows of a repeater without building something complex? Needing to filter by specific data is not ideal for this.
Attached is the prototype I’m working on … In my file I’m currently accomplishing this by attempting to store a height value and size a dynamic panel based on it - it was really a pain to reacquire focus the input and managing focus and lost focus is also a pain. My sense is this isn’t the best solution with a working repeater that can be filtered. But it does demonstrate the behavior I’m hoping for.
input-with-chips2.rp (119.1 KB)