Entity reference autocomplete value should be in double quotes

Created on 12 August 2021, almost 3 years ago
Updated 15 March 2023, over 1 year ago

Problem/Motivation

Pre-populated values for reference autocomplete fields should be in double quotes for validation to work.

Steps to reproduce

An entity title could have commas and Drupal will then interpret that as multiple entity references. E.g., Quality, Customer Service (10). Drupal thinks that Quality is an entity but associated with no ID. It may also think there is Customer Service entity with ID 10.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇨🇦Canada hai.nguyen.phc

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