Use single widget for entity_reference_autocomplete if field_config_cardinality = 1

Created on 24 January 2023, over 1 year ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

If an entity_reference_autocomplete is configured to have field_config_cardinality = 1 but the storage cardinality allows multiple values the
entity_reference_autocomplete looks like the user can use multiple values.

Steps to reproduce

Use an entity reference field with storage cardinality > 1.
Configure field_config_cardinality = 1 for this field.
Use the entity_reference_autocomplete widget in the form.

Proposed resolution

Use the single widget for field_config_cardinality = 1.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡©πŸ‡ͺGermany Harlor Berlin

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.69.0 2024