Javascript error: Uncaught TypeError: t.trim is not a function

Created on 4 May 2025, 12 days ago

This error shows on a fresh build with Drupal 11 and Content Model Documentation.

Uncaught TypeError: t.trim is not a function
chosen.jquery.min.js:3:26559

It doesn't happen on Drupal 10.

Not sure what changed, but I think it has something to do with the order of loading jquery, the chosen plugin, and the init script.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States mortona2k Seattle

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