Events
Select2 for WireBootstrap extends the wire.ui.component class. As such, it inherits all its base events.
The following events are added to Select2 for WireBootstrap.
Name
Description
select(config)
Raised when a value is selected in the component passing the standard WireBootstrap user event data.
const select = new wire.select2().render("#select", {
...
events: {
select: (config) => {
...
}
}
});
Last updated
Was this helpful?