pozitiveman
pozitiveman
FFilament
Created by pozitiveman on 2/3/2024 in #❓┊help
Enum Class name in Frontend
While checking the frontend code found out that the enum class name in default does show up in the frontend. Is that normal behavior? So ->default(EventStatus::Published->value) will just output Published value as a string in the frontend But ->default(EventStatus::Published) will have "App\Enums\EventStatus" in the frontend code. I'm new to all livewire/filament so pardon if that's a stupid question. I just don't like to leak folder structure, although that's probably safe.
7 replies