Livewire Async Select
Guide
Features
API Reference
Examples
GitHub
Guide
Features
API Reference
Examples
GitHub
  • Getting Started

    • Introduction
    • Installation
    • Quick Start
  • Features

    • Features
    • Async Loading
    • Multiple Selection
    • Custom Slots
    • Themes & Styling
    • Authentication
  • Advanced

    • API Reference
    • Examples
    • Customization
    • Setting Default Values
    • Validation & Error Handling
    • Select2 Comparison
    • Troubleshooting

Multiple Selection

Enable multiple item selection with visual chips and easy management.

Basic Usage

<livewire:async-select
    name="tags[]"
    wire:model="selectedTags"
    :options="$tags"
    :multiple="true"
    placeholder="Select tags..."
/>

Chip Display

Selected items appear as removable chips:

  • Visual feedback for each selection
  • Click X to remove individual items
  • Keyboard support (Backspace to remove last)

Maximum Selections

Limit the number of selections:

<livewire:async-select
    :multiple="true"
    :max-selections="5"
/>

With Images

<livewire:async-select
    :multiple="true"
    :options="[
        ['value' => 1, 'label' => 'User 1', 'image' => '/avatar1.jpg'],
        ['value' => 2, 'label' => 'User 2', 'image' => '/avatar2.jpg']
    ]"
/>

Custom Chip Rendering

Customize how chips appear:

<livewire:async-select :multiple="true">
    <x-slot name="selectedSlot" :option="$option">
        <span class="font-bold">{{ $option['label'] }}</span>
        <span class="text-xs">({{ $option['role'] }})</span>
    </x-slot>
</livewire:async-select>

See Custom Slots →

Last Updated: 11/2/25, 10:20 PM
Contributors: Pshtiwan Mahmood
Prev
Async Loading
Next
Custom Slots