TextInput with follow action
Hi, I'm traying to build a text input with a suffixAction that follows the url typed on the input.
How can I get the value typed on the text input?
How can I get the value typed on the text input?
\Filament\Forms\Components\TextInput::make('test')->url()->suffixAction(
Action::make('follow-url')
->icon('heroicon-m-globe-alt')
->url(function ($data) {
return $data->url();
})
->openUrlInNewTab()
)->live()
->suffixAction(fn($state) => dd($state))