Support for Entity Browser Widget

Created on 25 May 2022, about 3 years ago
Updated 24 April 2023, over 2 years ago

Problem/Motivation

I would like to see Field Config Cardinality support EntityReferenceBrowserWidget as well. It would require some refactoring of the Entity Browser widget too (if we do not want to repeat a lot of code). I brought this to Entity Browser as feature request: Entity Browser Entity Reference Widget: wrap getCardinality() in own function Needs review .

Steps to reproduce

Use entity browser widget together with Field Config Cardinality. Entity browser widget does not respect Field Config Cardinality settings.

Proposed resolution

Extend EntityReferenceBrowserWidget similar how it was done for MediaLibraryWidget in #3117908: Cardinality for MediaLibraryWidget

Remaining tasks

User interface changes

Entity Browser widget will respect Field Config Cardinality setting (e. g. messages for remaining and total allowed elements, radio vs checkbox etc.)

API changes

na

Data model changes

na

Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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

Merge Requests

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