© 2026 Hedgehog Software, LLC

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

Filament TextInput Clickable External link

I have an action and I want to make a TextInput field clickable so it opens the link of the tab, is there anyway to do this? I read the docs but didn't find anything
    public function clubAction(): Action
    {
        return ViewAction::make('viewClub')
            ->record(function (array $arguments) {
                return Club::find($arguments['id']);
            })->label("Run Club In The DMV")
            ->form([
                TextInput::make('name')->url(fn (string $record): string => 'https//:www.google.com')
                    ->openUrlInNewTab()
                    ,
                TextInput::make('website')
                    ,
                TextInput::make('instagram')
            ]);

    }
    public function clubAction(): Action
    {
        return ViewAction::make('viewClub')
            ->record(function (array $arguments) {
                return Club::find($arguments['id']);
            })->label("Run Club In The DMV")
            ->form([
                TextInput::make('name')->url(fn (string $record): string => 'https//:www.google.com')
                    ->openUrlInNewTab()
                    ,
                TextInput::make('website')
                    ,
                TextInput::make('instagram')
            ]);

    }
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

TextInput link
FilamentFFilament / ❓┊help
3y ago
Infolist link not clickable
FilamentFFilament / ❓┊help
13mo ago
filament 3 make state widget clickable
FilamentFFilament / ❓┊help
3y ago
Open Modal with external link
FilamentFFilament / ❓┊help
2y ago