Cardinality does not factor in count of referenced entities

Created on 2 March 2022, over 2 years ago
Updated 2 October 2023, about 1 year ago

Problem/Motivation

The widget will show with blank labels if the cardinality is set to a number higher than the actual count of referenced entities.

Steps to reproduce

  • Create a new tally "term reference" field.
  • The taxonomy vocabulary used should have, for example, 3 terms.
  • Set the cardinality to 6.
  • The widget will now show 3 blank fields with no label.

Proposed resolution

The widget should be aware if it runs out of referenced entities, specifically in the context of the available select options. When there are no more options available, exist the loop for form element items.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States asherry

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024