Links widget is loading the checkbox widget JS library

Created on 17 May 2023, over 1 year ago
Updated 11 April 2024, 5 months ago

Just tried the new 3.x and encountered this issue:
I'm using the links widget. I was wondering, why the .js-facet-deactivate element was missing, and found out, that it must have been removed by JS - to be more precise by this library: facets/drupal.facets.checkbox-widget

As I'm not using checkboxes widget at all, I was quite confused, until I saw that the links widget does add this library within its appendWidgetLibrary() implementation.

I've seen no difference after disabling that line, so it seems to be some kind of copy&paste error. If this library is really added deliberately, the JS needs to be refactored, and the links widget needs its own implementation. 1. because of semantic reasons and 2. because of problems like this one :)

πŸ› Bug report
Status

Needs work

Version

3.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria agoradesign

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

Comments & Activities

Production build 0.71.5 2024