Iconpicker Widget wont show on Drupal 10

Created on 5 April 2023, over 1 year ago
Updated 6 July 2023, over 1 year ago

Problem/Motivation

Drupal 10 relies in the new core/once and deprecates core/jquery.once.
When using the IconPicker Widget, icon selector doesn't work and a textfield is shown instead.
We get a "Uncaught TypeError: $context.find(...).once is not a function" error.

Steps to reproduce

Use Iconpicker widget with Drupal 10.

Proposed resolution

Update core/once dependency in fontawesome_iconpicker_widget.libraries.yml and fontawesome-iconpicker.js

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain alexahumada

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

Comments & Activities

Production build 0.71.5 2024