© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
8 replies
Antoine

wire:sortable callback has no effect in custom page

Hi guys,

I created a custom Filament page. Inside, I have the following content :
<x-filament::page>
    <ul wire:sortable="updateTaskOrder">
        @foreach ($items as $task)
            <li wire:sortable.item="{{ $task->id }}" wire:key="task-{{ $task->id }}">
                <h4 wire:sortable.handle>{{ $task->title }}</h4>
                <button wire:click="removeTask({{ $task->id }})">Remove</button>
            </li>
        @endforeach
    </ul>
</x-filament::page>
<x-filament::page>
    <ul wire:sortable="updateTaskOrder">
        @foreach ($items as $task)
            <li wire:sortable.item="{{ $task->id }}" wire:key="task-{{ $task->id }}">
                <h4 wire:sortable.handle>{{ $task->title }}</h4>
                <button wire:click="removeTask({{ $task->id }})">Remove</button>
            </li>
        @endforeach
    </ul>
</x-filament::page>


However, the callback method passed to wire:sortable is NEVER called. I do not know why. Is it a problem with Filament livewire component?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Problem with wire:init and $this->table in custom page
FilamentFFilament / ❓┊help
2y ago
why wire:change is not working in filament custom page
FilamentFFilament / ❓┊help
3y ago
Notification::duration() has no effect
FilamentFFilament / ❓┊help
16mo ago
Livewire custom component - Livewire Sortable
FilamentFFilament / ❓┊help
3y ago