Closed (fixed)
Project:
Bootstrap5
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2022 at 09:07 UTC
Updated:
11 Feb 2026 at 14:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
stefan.kornComment #3
stefan.kornLooking a bit deeper into this, Drupal is itself already adding "form-select" in template_preprocess_select. So imho the select.html.twig can be removed from Bootstrap theme, since the only relevant change to core's version seems to be adding the "form-control" class. But this is not necessary for a bootstrap select and in someway it is even incorrect.
So providing another patch for deleting the select.html.twig.
Comment #4
jannakha commentedneeds to be ported to v4
Comment #5
jannakha commentedComment #6
anirudhsingh19 commentedworking on this!
Comment #8
anirudhsingh19 commentedRemoved select.html.twig as suggested in #3. Please review.
Comment #9
jannakha commentedthank you for your contribution.
tested, works as expected.
ready for release.
Comment #10
vladimirausThank you. Committed.