Entity browser modal dialog opens by pressing enter in any text field

Created on 27 July 2017, about 8 years ago
Updated 28 July 2025, 5 days ago

Problem/Motivation

Steps to reproduce:

  1. Enable entity browser example
  2. Go to node/add/entity_browser_test
  3. Enter sample text in "Title" field and press ⏎
  4. Entity browser modal window gets opened

The bug seems to appear in entity_browser.view.js.

Proposed resolution

React on ⏎ events occured in entity browser's exposed view filters fields only.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Field widget

Created by

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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