JSONview field widget broken in D10

Created on 25 May 2023, almost 2 years ago
Updated 12 June 2023, almost 2 years ago

Problem/Motivation

Uncaught TypeError: $(...).find(...).once is not a function
    attach https://my.site/modules/contrib/json_field/modules/json_field_widget/assets/js/json_widget.js?rv81sv:27

old jquery.once usage wasn't converted.

Steps to reproduce

- Enable the json_view field widget on a json field.
- Try create a piece of content with the field
- No WYSIWYG editor and see the error in the console log.

Proposed resolution

Convert to the new once library.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States neclimdul Houston, TX

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

Comments & Activities

Production build 0.71.5 2024