Support for unlimited multiplicity and minimum items to show on load

Created on 13 August 2025, 6 days ago

Problem/Motivation

Now that this module is part of Drupal CMS, would it maybe make sense to extend its functionality to similar cases, where UX is not optimal?

Currently, the module seems to focus on fields with limited multiplicity. A thing I think that would be useful in this context and could also be extended to fields with unlimited multiplicity:
Add a setting for minimum amount of input fields to show instantly: The use-case is being able to quickly enter values and show the user a "typical" number of form items for this field to fill. The "Add more" button would still be useful to add more.
On unlimited fields, this would also add the benefit that the time-consuming AJAX-loading is only needed for further fields.

https://www.drupal.org/project/unlimited_field_settings does a bit of this, but doesn't work well for all cases and I think "Simple add more" is more stable and from the name could also improve the unlimited fields a lot.

What do the maintainers think about this proposal? Can you see the additional value in the context of this module?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

  • Issue created by @Anybody
  • 🇪🇸Spain marcoscano Barcelona, Spain

    Thank you for the proposal.
    This is a very simple and lightweight module, where the underlying architecture is just to use JS to hide/show values that already come from the back-end. Doing what you describe is technically a very different solution, which IMO would go beyond this module's original purpose.

    From what I see on the module page, the other module you describe is trying to fix exactly this? If that's the case, I'd rather we concentrate efforts to make that module work well, instead of replicating the new feature here?

    Marking this as won't fix, but others feel free to keep commenting here if there is a lot of people that think differently.

    Thanks!

  • 🇩🇪Germany Anybody Porta Westfalica

    Thank you very much for the quick response @marcoscano. Totally fine as your maintainer decision, I just wanted to propose that idea :)

  • 🇩🇪Germany Anybody Porta Westfalica

    PS: Maybe the "minimum" functionality is still more interesting than the "Unlimited" support and more in the focus of this module regarding UX.

Production build 0.71.5 2024