datepicker dependent library compatibility

Created on 21 February 2025, 3 days ago

Problem/Motivation

In Drupal 11.1.1, an error occurs when using the datepicker.

Uncaught TypeError: a.isArray is not a function at k._resolveDaysOfWeek (bootstrap-datepicker.min.js:7:3190)

Steps to reproduce

In /admin/config/views-year-filter/settings, configure the module settings to use the Bootstrap Datepicker.
Create a view page that uses the Views year filter in the public filter.

Proposed resolution

Since Drupal 11, the core jquery version has changed to v4.0.0-beta.2 and does not seem to be working.
Change the version of the datepicker library from 1.9.0 to 1.10.0.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

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