Problem/Motivation

whenever I click on the select field, It opens perfectly but when I select any option it will not select. But when I click on that option again then it select. after that, it works perfectly for that option only.
It is happening on all options on the select list.

Steps to reproduce

Drupal version 10.2.0
Select2 module version 1.15
Select2 library version 4.1.0-rc.0

On Drupal 10.2.0 Install the Select2 module and library
set the option from the field widget and check the field on the form.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3410485-2.patch1.75 KBkeshavv

Comments

keshavv created an issue. See original summary.

keshavv’s picture

Status: Active » Needs review
StatusFileSize
new1.75 KB

Here is the patch that works for me.

damienmckenna’s picture

Please give #3410488: Add select2 dependency in libraries.yml file a try, which resolves the root problem of the libraries not loading in the proper order.