Configuration
Use the following configuration options to bind the Select2 for WireBootstrap component.
Properties
Name
Default
Description
default
All
Default value in the select box when it loads. Use a single text label or the datamap.id field name. Set to $first
to have the first value in the list selected by default.
datamap
loading
false
Determines whether the loading spinner is shown over the component when processing its data promise.
multiRemoveDefault
false
Removes first/default selection (ala All) when another selection is made.
search
false
Allow the select list to be searched
select2
typeAhead
false
Select2
The following example uses the native Select2 configuration to turn on multi-select functionality. It also tells the component not to display a loading spinner when waiting for new data.
Last updated