Problem/Motivation

The two auto complete methods in Select2BefFormStaticController currently define a new attributes array when the elements are configured to use select2. The issue I was running into is that I needed to add some css classes to one of my dropdowns, but because my module was loading before Select2 Boxes it was getting overwritten.

Proposed resolution

I put together a patch that changes the methods to set the attributes it's working with specifically and to add its css classes to the array instead of creating a new one.

Comments

jacobbell84 created an issue. See original summary.

jacobbell84’s picture

Status: Active » Needs review
valentine94’s picture

Assigned: jacobbell84 » Unassigned
Status: Needs review » Reviewed & tested by the community

Makes sense, thank you!

  • matsbla committed 36dc4fd on 8.x-1.x authored by jacobbell84
    Issue #3022577 by jacobbell84: Select2 Boxes is preventing modules/...
matsbla’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

jacobbell84’s picture