Last updated 2 years ago
Use the following configuration options to bind the Bootstrap select component.
The following example binds the Bootstrap select component specifying the all value to represent selecting all values.
all
const users = [ { value: "all", label: "All Users" }, { value: "jkratz", label: "Jeff Kratz" }, { value: "jross", label: "Jeff Ross" } ] const select = new wire.bsSelect().render("#select", { data: users, all: { value: "all", label: "All Users" }, });
Name
Description
An object that represents selecting all values from the list. This value should match the datamap schema
datamap
Used to bind data to the component. See Data Binding for details.