Select & Multiselect

Methods
->options($options)
A list or flat
key => valuebasedArray,CollectionorClosure.OBSERVE: if you use a callable, it will be executed on EVERY re-render of the component! Maybe you should consider setting the
$optionsinmount()instead?Tip: use a component method that returns an array;
->options($this->someMethod())
->placeholder(string $placeholder)
Display a message when no item is selected.
Last updated
Was this helpful?