© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
abanghendri

dynamic colspan for resource form

Hi, I wonder is there any dynamic way to set form colspan, the scenario is like we have 2 or 3 column form and when we click a button/action the colspan become 1, it would be usefull if we use Richtext for editing the content
Solution
hidden field with default value, then fn($get) => $get('hidden_field') in the colspan and get the hidden field value. then in the action set the hidden field value
Jump to solution
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

Dynamic Form Publish Resource Action
FilamentFFilament / ❓┊help
13mo ago
Resource form
FilamentFFilament / ❓┊help
3y ago
Dynamic form for product prices
FilamentFFilament / ❓┊help
2y ago
Preload Resource data for form
FilamentFFilament / ❓┊help
3y ago