- Issue created by @markus_petrux
- Status changed to Needs review
almost 2 years ago 5:06pm 3 February 2023
For a custom project we need to change a few settings for the select2 component, but a bug in select2.js prevents this.
We have added a preRender callback after the one select2_all adds, so we can add more settings to the select2 array. But these are not applied.
The problem seems that these setting are not populated in the select2 behavior, so they are lost.
Fix the code in select2 behavior so it populates the component options from those coming from drupalSettings.
Needs review
1.2
Code