Select Blade Component - Searchable

Is that possible using Filament Select component with "searchable" option directly into blade ?

I'm trying to create an Action with specific View modalContent trying to use Filament components but i'm not able to use "form" from action from example, because When I use $this->form, it doesn't appear where I'm inserting it; instead, it shows up at the end of my view. Therefore, I'm trying to create everything in the Blade file, but I'm facing issues with using the searchable select.

That's why I would like this possibility, as it would allow me to continue directly in the Blade file
Solution
I achieved implementing HasForms (InteractsWithForms) and creating a function to return specific form to blade.

-- Component
public function formExample(Form $form): Form
    {
        return $form
            ->schema([
                Textarea::make('test')
                    ->required(),
            ])
            ->statePath('testData');
    }

--- Blade

{{ $this->formExample }}
Was this page helpful?