Uncaught TypeError: $(...).once is not a function when using entity browser

Created on 14 August 2023, over 1 year ago
Updated 17 January 2024, 11 months ago

Problem/Motivation

When adding microcontent using entity browser, Uncaught TypeError: $(...).once is not a function errors are thrown.

Steps to reproduce

Create some microcontent entities
Create an entity browser for selecting microcontent
Create a Reference field which can select Microcontent entities on a bundle for an entity type
Configure form display for the bundle to use the microcontent entity browser
Create content and try to select microcontent using entity browser

Proposed resolution

Add core/once and core/jquery.once.bc to dependencies.

Remaining tasks

Patch or merge request to follow.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇿New Zealand hitfactory

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024