ekta
ekta
TLCTuto's Laravel Corner
Created by ekta on 9/16/2023 in #💡filament
I'm having following error :ENUM
After defining the 'status' attribute in the 'AppointmentResource' and using 'App\Enums\AppointmentStatus,' I have added 'protected $casts = ['status' => AppointmentStatus::class]' in the model. However, I am encountering an error that says, 'Class "App\Enums\AppointmentStatus" not found.' I'm currently stuck at this point.
6 replies