Uncaught TypeError: i.type is not a function when using the Slick Media field formatter

Created on 17 December 2024, about 1 month ago

Problem/Motivation

When using the "Slick Media" field formatter, Slick does not work.
Console error "Uncaught TypeError: i.type is not a function"

Steps to reproduce

[Fresh installed Drupal 11.1.0 instance]
1. Install current stable 3.0.4 of slick, enable install slick and slick ui
2. Configure a multivalue media (image) reference field in any entity type (tried node and media)
3. Configure the display to use the "Slick Media" formatter, using the default optionset, everything else also on default
4. Create a new node, choose the slides/media images and save
5. => Broken slick "TypeError: i.type is not a function"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

JavaScript

Created by

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

Comments & Activities

Production build 0.71.5 2024