© 2026 Hedgehog Software, LLC

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

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

--- Blade

{{ $this->formExample }}
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Searchable in select blade
FilamentFFilament / ❓┊help
14mo ago
Searchable in select blade
FilamentFFilament / ❓┊help
14mo ago
Select component with searchable & live?
FilamentFFilament / ❓┊help
3y ago
Choice.js Select Blade Component
FilamentFFilament / ❓┊help
3y ago