Skip to content

This plugin transforms a native HTML <select multiple> element into a modern, user-friendly checkbox list dropdown, fully styled to match Bootstrap 5’s form-select appearance.

Notifications You must be signed in to change notification settings

omerosmanoglu/select-checklist-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Select Checklist

select-checklist-bootstrap

Bootstrap 5 compatible select checklist with checkbox UI and native form support.

  • English Description

    This plugin transforms a native HTML element into a modern, user-friendly checkbox list dropdown, fully styled to match Bootstrap 5’s form-select appearance. The primary goal is to offer a multi-select UI that feels natural to users and blends seamlessly with Bootstrap forms — without breaking the layout or requiring external libraries. Selections update the original element behind the scenes, ensuring full compatibility with native form submission and browser behavior.

    It's dependency-free, lightweight, and easy to integrate with just a few lines of JavaScript.

  • Türkçe Açıklama (detaylı)

    Bu eklenti, Bootstrap 5 görünümüne tamamen uyumlu bir şekilde, etiketini görsel olarak checkbox’lı bir listeye dönüştürür. Amaç, formların estetik yapısını bozmadan kullanıcıya daha anlaşılır ve sezgisel çoklu seçim imkanı sunmaktır. Seçim listesi, Bootstrap'ın form-select görünümünü korur ve kullanıcı seçim yaptığında arka planda orijinal öğesi güncellenir. Böylece form gönderimi sırasında tüm veriler standart HTML form yapısıyla çalışır.

    Hiçbir bağımlılık içermez (örneğin jQuery gerekmez) ve sadece birkaç satır JavaScript ile entegre edilebilir.

Features

  • Looks like Bootstrap's form-select
  • Preserves original <select multiple>
  • No dependencies, no jQuery required
  • Pure JavaScript
  • Easy to use and style

🔗 Demo

Test it live: https://demo.osmanoglu.net.tr/select-checklist/

🖼️ Screen

Select Checklist Screenshot

Usage

<select multiple class="form-select select-checklist" name="ingredients">
  <option value="cheese">Cheese</option>
  ...
</select>

About

This plugin transforms a native HTML <select multiple> element into a modern, user-friendly checkbox list dropdown, fully styled to match Bootstrap 5’s form-select appearance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages