skip to Main Content

Laravel – Filament: Hiding Form Input Dynamically

I am working with Filament and Laravel and currently I've got these two field inputs for choosing City BASED ON Province Field, inside form() method: Select::make("meta.employment_state") ->label("Province") ->getSearchResultsUsing(fn (string $search): array => State::query()->where('name', 'like', "%{$search}%")->limit(10)->pluck('name', 'id')->toArray()) ->getOptionLabelUsing(fn ($value): ?string =>…

VIEW QUESTION

Laravel – FilamentPHP – Table actions not firing

I have a table function in a custom Filament page: I have initialized the page like this: <?php namespace AppFilamentAppResourcesOIPRequestResourcePages; use AppFilamentAppResourcesOIPRequestResource; use FilamentResourcesPagesPage; use FilamentTablesContractsHasTable; use FilamentFormsContractsHasForms; use FilamentTablesTable; use IlluminateDatabaseEloquentBuilder; use AppModelsOIPRequest; use FilamentTablesFiltersSelectFilter; use FilamentTablesFiltersFilter; use FilamentResourcesPagesListRecordsTab;…

VIEW QUESTION
Back To Top
Search