Use single widget for entity_reference_autocomplete if field_config_cardinality = 1

Created on 24 January 2023, almost 2 years 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.71.5 2024