Reuse filament select multiple in custom component

I am trying to re-use some of Filaments components, and I am looking specifically to use the Select with multiple options. I saw the code below which seems to be working fine for simple selects, but I can't get it to work with multiple values. Can someone please help? I am not that good with Livewire and Laravel, still learning this through... Thanks!

<x-filament::input.wrapper>
<x-filament::input.select wire:model="records">
<option value="draft">Draft</option>
<option value="reviewing">Reviewing</option>
<option value="published">Published</option>
</x-filament::input.select>
</x-filament::input.wrapper>
Was this page helpful?