Dmitriy
Dmitriy
FFilament
Created by Dmitriy on 2/21/2025 in #❓┊help
TextColumn throwing an exception for the empty ENUM value
Thank you for your reply, I will try playing with ->getStateUsing(). Using the default in the enum for getLabel() didn't help for me. I used such code:
public function getLabel(): string
{
return match ($this) {
self::NL => __('Dutch'),
self::FR => __('French'),
self::EN => __('English'),
default => '',
};
}
public function getLabel(): string
{
return match ($this) {
self::NL => __('Dutch'),
self::FR => __('French'),
self::EN => __('English'),
default => '',
};
}
8 replies
FFilament
Created by Dmitriy on 2/21/2025 in #❓┊help
TextColumn throwing an exception for the empty ENUM value
No description
8 replies