bselect

The select decorator component that was missing for Twitter Bootstrap 3.

Default functionality

The following functionality of bselect is default of the <select> s you already know. You don't need to do any extra markup or configuration via JavaScript objects to have them working.

Standard select

<optgroup> support

Disabled select

Inside hidden elements

When using it in a initially hidden element like a modal you have .resize() the parent before showing to properly size it

//resize the modal so bselect updates the width
$('.modal').on('show.bs.modal', function() {
	setTimeout(function() {
		$(this).trigger('resize');
	});
});