select should get "form-select" class instead of "form-control"

Created on 29 December 2022, almost 3 years ago
Updated 25 August 2025, about 1 month ago

Problem/Motivation

select elements get "form-control" class via select.html.twig. This is not correct imho, as Bootstrap uses "form-select" class for select elements, see https://getbootstrap.com/docs/5.2/forms/select/

Steps to reproduce

use a select element with Bootstrap theme and inspect the class.

Proposed resolution

change class to "form-select" in select.html.twig

Remaining tasks

create a patch

User interface changes

bootstrap styling according to "form-select" class

API changes

na

Data model changes

na

🐛 Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

🇩🇪Germany stefan.korn Jossgrund

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024