Ability to Limit Display of Latest Multi-value Items in Widget

Created on 22 August 2025, 26 days ago

Problem/Motivation

Description:
I would like to request a feature that allows setting a limit on how many of the latest multi-value items are displayed in the widget form display mode.

Use Case:
I am adding comments to projects as multi-value fields. When there are only a few comments (e.g., 1 or 10), the current unlimited display works fine. However, some projects have 100 or more comments, which makes the form cumbersome because the user must scroll through all existing items and repeatedly click "Add another item" at the bottom.

Problem:
The multi-value field must remain unlimited because the total number of comments is unpredictable. However, displaying all items by default is inefficient and unwieldy when the count is very high.

Proposed Solution:

Add a configuration option in the widget settings (form display mode) to specify how many of the latest multi-value items are shown by default (e.g., show only the last N items).
The widget should display only the latest N items by default, with an option to expand or collapse older items if needed.
When a new item is added via AJAX, it should append at the end, but the default view stays focused on the latest items at the top.
If editing older items is needed, they can be collapsed initially and expanded on demand by the user.

Benefits:

Improves usability by reducing form length and scrolling when dealing with large numbers of multi-value items.
Keeps the multi-value field unlimited but manageable in the UI.
Provides better control for site builders over the widget display without losing data or functionality.

Is anything like that possible to implement?

✨ Feature request
Status

Active

Version

3.1

Component

Documentation

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024