AJN
AJN
FFilament
Created by AJN on 9/13/2024 in #❓┊help
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')
]);

}
3 replies
FFilament
Created by AJN on 9/12/2024 in #❓┊help
I can't get the submit button to show on a Filament-livewire form
No description
7 replies