© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
4 replies
nowak

How to set ->recordAction(null) and ->recordUrl(null) conditionally in custom column?

I am working on a custom column class and view, which should function as a confirmation slider. The issue is that when I drag the slider handle and release outside the slider component, the record row is receiving a click, which triggers the table rows recordAction. I could set ->recordAction(null) and ->recordUrl(null) on my table, but I might not always want to disable row clicks on all tables that use this custom column.

So I was wondering if I could somehow conditionally set the recordAction table prop to null when my slider is in the dragging state, to avoid the record click being triggered while interacting with the confirmation slider?
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

Custom recordAction()
FilamentFFilament / ❓┊help
2y ago
->recordUrl(null) with ->expandableLimitedList()
FilamentFFilament / ❓┊help
10mo ago
Hiding ColumnGroup conditionally
FilamentFFilament / ❓┊help
5mo ago
How do you disable $table->recordUrl(null) globally in all tables?
FilamentFFilament / ❓┊help
2y ago