Repository navigation
Releases
Releases · drpshtiwan/livewire-async-select
3.3.0
3.2.0
[3.2.0]
Added
- Added support for Bootstrap 4 theme
3.1.0
3.0.0
[3.0.0]
Fixed
- Livewire v4 slot rendering regression that caused blank option rows and fragment markers to appear in dropdown options.
- Custom slot rendering compatibility across Tailwind and Bootstrap views for both local and remote options.
- Selection validation to reject unknown values in local mode when tags are disabled.
- Grouped option normalization for container-style input (
label+options). - Key merge behavior in selection checks by preserving option keys (
array_replaceinstead ofarray_merge).
Changed
- Option normalization now preserves extra option fields (for example
role,sku) so custom slots can access full option payload data. - Added backward-compatible callable slot support while keeping Livewire named-slot support.
Added
- New feature tests for custom slots with local and remote data:
tests/Feature/CustomSlotsTest.php
- Additional selection and grouping coverage in:
tests/Feature/AsyncSelectTest.php
Documentation
- Updated slot usage examples and troubleshooting guidance for Livewire 3.3+/4.x.
- Corrected API docs defaults and behavior notes (
max-selections, grouped options format, slot syntax). - Updated docs in:
README.mddocs-src/guide/api.mddocs-src/guide/custom-slots.mddocs-src/guide/troubleshooting.md
2.0.0
- Introducing authentication for internal and external endpoints.
- Separate bootstrap and tailwind view file
- rewrite the necessary styles
1.1.0
Version 1.1.0
✨ New Features
Selected Labels Without API Requests
Display selected labels immediately using value-labels - no API calls needed!
<livewire:async-select
wire:model="categoryId"
endpoint="/api/categories"
:value-labels="[3 => 'Web Development']"
/>Suffix Button with Modal Support
Suffix button now automatically closes dropdown when clicked - perfect for opening modals.
<livewire:async-select
:suffix-button="true"
suffix-button-action="showAddMediaModal"
/>Automatic wire:model Default Values
No need to pass :value attribute - component automatically uses wire:model property value.
// Component
public $userId = 5;
<!-- No :value needed -->
<livewire:async-select wire:model="userId" :options="$users" />🔧 Improvements
- Zero API requests with
value-labels - Better modal UX with suffix button
- Simplified default value handling
- Updated documentation
⚠️ Breaking Changes
None. Fully backward compatible.