Many WireBootstrap components are extensions of the third-party plugins and widgets that come with Bootstrap themes. Most of these plugins and widgets have their own native configuration.

All WireBootstrap components that extend the functionality of another provide a "pass-through" attribute for the plugin or widget's native configuration. The name of this attribute will be different depending on the component. Check the component documentation for details.


The Select2 for WireBootstrap component extends the functionality of the popular Select2 jQuery plugin. The select2 configuration attribute allows any of the native configuration options for Select2 to be passed in.

In the example below, the component is told to turn on multiple selections for the drop down via the multiple property on the Select2 plugin's native configuration.

const select = new wire.select2().render("#select", {
    select2: { multiple: true }

Last updated