© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
24 replies
Kuldeep

Open modal from input field label

I wanted to open a modal from the checkbox label text, like Terms & Conditions.
Forms\Components\Checkbox::make('terms')
                        ->label('I agree with ')
                        ->hint("[terms & condition.](" . url("/terms") . ")")
Forms\Components\Checkbox::make('terms')
                        ->label('I agree with ')
                        ->hint("[terms & condition.](" . url("/terms") . ")")

The above code works but the link will come in the hint section. Also, it'll open another page and I want to show terms & conditions in the modal.
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

Open a modal from checkbox label
FilamentFFilament / ❓┊help
3y ago
open modal custom field
FilamentFFilament / ❓┊help
2y ago
open modal from another modal
FilamentFFilament / ❓┊help
3y ago
Custom field Open Modal Form
FilamentFFilament / ❓┊help
3y ago