Estate-of-the-Art / finance-estate-issues

Issue Tracker for Finance Estate
2 stars 0 forks source link

App\Enums\HaushaltsPositionEnum::tryFrom(): Argument #1 ($value) must be of type string, null given #13

Closed flare-error-tracker[bot] closed 2 months ago

flare-error-tracker[bot] commented 2 months ago

TypeError

App\Enums\HaushaltsPositionEnum::tryFrom(): Argument #1 ($value) must be of type string, null given

🎯 App\Enums\HaushaltsPositionEnum::tryFrom 📄 /app/Filament/Makler/Resources/UserResource/RelationManagers/HaushaltspositionRelationManager.php

44      ->translateLabel()
45      ->money()
46*     ->label(fn ($get) => HaushaltsPositionEnum::tryFrom($get('type'))?->label())
47      ->required(),
48  Section::make()->schema(fn ($get): array => generateHaushaltspositionen($get) ?? []),

Open in Flare

flare-error-tracker[bot] commented 2 months ago

Error App\Enums\HaushaltsPositionEnum::tryFrom(): Argument #1 ($value) must be of type string, null given was resolved in Flare.