Universal Editor does not enforce “Maximum number of items” constraint from Content Fragment model | Community
Skip to main content
Level 7
March 24, 2026
Question

Universal Editor does not enforce “Maximum number of items” constraint from Content Fragment model

  • March 24, 2026
  • 1 reply
  • 68 views

Hello Everyone,

 

We have observed an inconsistency between the Content Fragment Editor and the Universal Editor regarding enforcement of Content Fragment model constraints.

A multi-value field  in our Content Fragment model is configured with Maximum number of items = 3.

  • In the Content Fragment Editor, this constraint is respected and authors are prevented from adding more than three entries.
  • In the Universal Editor, the same field allows adding a fourth item, and the value is persisted without any validation error.

 

After saving from the Universal Editor, reopening the fragment shows all four values stored in the repository.

This suggests that the Universal Editor does not currently enforce the max items constraint defined in the Content Fragment model.

Please confirm:

  1. Whether this behavior is expected or a known issue
  2. If there are plans to align Universal Editor validation with Content Fragment model constraints
  3. Whether any server-side validation or configuration is recommended to prevent this

Note: I referred this thred: 

​​​​@nviswanathareddy  ​@lukasz-m  ​@PGURUKRISHNA 

1 reply

AmitVishwakarma
Community Advisor
Community Advisor
March 25, 2026

Hi ​@Mahesh_Gunaje 

You're right about the behavior you're seeing, and there's nothing wrong with your model.

1. Is this expected / known?

2. Plans to align Universal Editor with CF model constraints

The documented direction for UE is that it validates Content Fragment fields based on their models (regex, uniqueness, etc.). https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/developing/universal-editor/field-types

  • However, enforcement of Maximum number of items for multi‑value fields in UE is not yet on par with the Content Fragment Editor. To track it formally and get updates, you should:
    • Raise an Adobe Support ticket and reference your observations (CF Editor vs UE behavior, plus screenshots).
    • Optionally log an Idea in the AEM Ideas portal so others can upvote it.

3. What to do right now

Until UE is updated to respect Maximum number of items for multi‑value CF fields:

1.Process workaround

  • For fields where the max count is critical (like your multi‑value field with max = 3):
    • Ask authors to edit that field only in the Content Fragment Editor, not via Universal Editor.
    • This guarantees the limit is enforced before save.

This looks like a current limitation/bug in the Universal Editor. The Content Fragment Editor correctly enforces Maximum number of items, but UE can currently save more items than defined in the model. Until Adobe aligns UE validation with CF model constraints, the safe workaround is to treat the CF Editor as the "source of truth" for those constrained multi‑value fields (or add a custom validation step on publish), and log a Support ticket so the behavior can be tracked and fixed.

Amit Vishwakarma - Adobe Commerce Champion 2025 | 16x Adobe certified | 4x Adobe SME