TextInput with follow action

Hi, I'm traying to build a text input with a suffixAction that follows the url typed on the 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()
        )


How can I get the value typed on the text input?
Solution
->live()
->suffixAction(fn($state) => dd($state))
Was this page helpful?