Ahmadmhk
Ahmadmhk
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
yeah i change the name of the file and it is working now thank you
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
one is time and the other is status
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
same
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
this one is status
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
i dont know one is working and the other one is not working
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
v3
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
<?php

namespace App\Enums;

use Filament\Support\Contracts\HasLabel;

enum AppointmentTime: string implements HasLabel {
case TIME_9 = '09:00';
case TIME_10 = '10:00';
case TIME_11 = '11:00';
case TIME_12 = '12:00';
case TIME_13 = '13:00';

public function getLabel(): ?string
{

return match ($this) {
self::TIME_9 => '9:00',
self::TIME_10 => '10:00',
self::TIME_11 => '11:00',
self::TIME_12 => '12:00',
self::TIME_13 => '13:00',
};
}

}
<?php

namespace App\Enums;

use Filament\Support\Contracts\HasLabel;

enum AppointmentTime: string implements HasLabel {
case TIME_9 = '09:00';
case TIME_10 = '10:00';
case TIME_11 = '11:00';
case TIME_12 = '12:00';
case TIME_13 = '13:00';

public function getLabel(): ?string
{

return match ($this) {
self::TIME_9 => '9:00',
self::TIME_10 => '10:00',
self::TIME_11 => '11:00',
self::TIME_12 => '12:00',
self::TIME_13 => '13:00',
};
}

}
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
and of i do it like this
->options([AppointmentTime::class])
->options([AppointmentTime::class])
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/26/2024 in #❓┊help
enum only showing the path
No description
35 replies
FFilament
Created by Ahmadmhk on 5/17/2024 in #❓┊help
Panel /Admin error 404
but after making 4 project its fix its self
12 replies
FFilament
Created by Ahmadmhk on 5/17/2024 in #❓┊help
Panel /Admin error 404
did not work
12 replies
FFilament
Created by Ahmadmhk on 5/17/2024 in #❓┊help
Panel /Admin error 404
this right
12 replies
FFilament
Created by Ahmadmhk on 5/17/2024 in #❓┊help
Panel /Admin error 404
i just mad this project
12 replies
FFilament
Created by Ahmadmhk on 5/17/2024 in #❓┊help
Panel /Admin error 404
new one 11
12 replies
FFilament
Created by Ahmadmhk on 5/15/2024 in #❓┊help
installing Composer
I have two XAMPP installations: one named "xampp" and another named "xampp01" because I redownloaded XAMPP. I've been working in the "xampp01" installation, and when I needed to change the php.ini file, I modified the one in "xampp01". However, for some reason, I had to make the changes in the php.ini file located in the original "xampp" folder instead.
35 replies