Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds an enhanced select dropdown field to Bootstrap-themed Drupal sites. It allows for features like live search, placeholders, and custom selected text formats.

3rd party js selectpicker bootstrap-select form widget for Bootstrap themed sites. Library will be loaded by default via CDN.
But the module will check if you have a local copy in web/libraries/bootstrap-select and use it instead.

This module implements the js package bootstrap-select a jQuery plugin for bootstrap sites. The widget is suitable for most option fields like (list_integer, list_float, list_string, entity_reference)

Implemented Options

  • Live search
  • Actions box
  • Placeholder
  • Header
  • Selected text format

If you need another option just add a feature request.

Dependencies:

Bootstrap v4's requirements

I want to use my local bootstrap-select files

You can download the library manually via Github or use asset packagist https://asset-packagist.org/ in your composer.json
Add the following to your project composer.json in the "repositories" section.

"repositories": [
    {
        "type": "composer",
        "url": "https://asset-packagist.org"
    }
]

Make sure you have required the oomphinc/composer-installers-extender package.
Add the following to your project composer.json in the "extra" section.

        "installer-types": [
            "bower-asset",
            "npm-asset"
        ],
        "installer-paths": {
             "web/libraries/{$name}": ["type:drupal-library", "type:npm-asset"],
        }

Now you can composer require npm-asset/bootstrap-select

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.4 Stable 8–11 Jun 16, 2025