Skip to main content
The select component allows you to select from a list of predefined options.

Basic Usage

Available Methods

method
Sets the available options.
method
Use native HTML5 select (default is true).
method
Makes the select searchable.
method
Allows multiple selections.
method
Configures the select to work with Eloquent relationships.
method
Customizes how search results are retrieved.
method
Customizes how option labels are displayed for single select.
method
Customizes how option labels are displayed for multi-select.
method
Customizes option labels from Eloquent records.
method
Preloads options when the page loads.
method
Allows reordering multi-select options.
method
Adds a form to create new options.
method
Customizes how new options are created.
method
Adds a form to edit the selected option.
method
Creates a boolean select with Yes/No options.
method
Allows HTML in option labels.
method
Controls whether option labels wrap or truncate.
method
Controls whether the placeholder can be selected.
method
Disables specific options.
method
Limits the number of options displayed.
method
Sets a custom loading message.
method
Sets a custom no results message.
method
Sets a custom search prompt.
method
Sets the search debounce in milliseconds.
method
Adds text before the select.
method
Adds text after the select.
method
Sets minimum number of items for multi-select.
method
Sets maximum number of items for multi-select.
method
Sets pivot data for BelongsToMany relationships.

Common Patterns

Simple Select

Searchable Relationship

Multi-Select with Relationship

Grouped Options