Dynamic List auto remove items if it gets longer than 5 record

Hi, I am facing a weird behavior in using dynamic list.
I created two identical forms with a dynamic list for two human tasks. The first task is data entry while the second one is for reviewing purpose.
We pre-fill 19 items into the dynamic list in the first human task, when viewing in the form, it only shows the first 5 items with an “Expand” icon at the bottom, if we don’t expand it, the data variable for this dynamic list will be cut, and only kept the first 5 items.
Similar behavior happens in the second human tasks.

Has anyone encounter this data truncation behavior? any work-around?

Thanks

The behavior you observed is actually expected. In the Dynamic List component, there is a configuration option called “Number of non-collapsing items”. If you don’t set this value, the form-js library defaults it to a maximum of 5 items, which is why your list gets truncated unless you expand it.

If you want the list to always display in full (without collapsing), you can set the option “Disable collapse” to true.