saeed
Full screen page with form
code: return $panel
->id('public')
->path('')
->colors([
'primary' => Color::Amber,
])
->discoverResources(in: app_path('Filament/Public/Resources'), for: 'App\Filament\Public\Resources')
->discoverPages(in: app_path('Filament/Public/Pages'), for: 'App\Filament\Public\Pages')
->pages([
Register::class,
])
->discoverWidgets(in: app_path('Filament/Public/Widgets'), for: 'App\Filament\Public\Widgets')
->widgets([
// Widgets\AccountWidget::class,
// Widgets\FilamentInfoWidget::class,
])
->middleware([
EncryptCookies::class,
AddQueuedCookiesToResponse::class,
StartSession::class,
AuthenticateSession::class,
ShareErrorsFromSession::class,
VerifyCsrfToken::class,
SubstituteBindings::class,
DisableBladeIconComponents::class,
DispatchServingFilamentEvent::class,
])
->authMiddleware([
// Authenticate::class,
]);
12 replies
records based on roles
Could not check compatibility between App\Filament\Resources\AsnadResource::getEloquentQuery(): App\Filament\Resources\Builder and Filament\Resources\Resource::getEloquentQuery(): Illuminate\Database\Eloquent\Builder, because class App\Filament\Resources\Builder is not available
14 replies