F
Filament10mo ago
HGalih

Conditional Resource/Navigation Label

Is there anyway I could make this work?
No description
Solution:
use the function and remove the prop '$label' ```php public static function getLabel(): ?string { return self::$label;...
Jump to solution
2 Replies
Solution
Lara Zeus
Lara Zeus10mo ago
use the function and remove the prop '$label'
public static function getLabel(): ?string
{
return self::$label;
}
public static function getLabel(): ?string
{
return self::$label;
}
Lara Zeus
Lara Zeus10mo ago
also $label is Deprecated: Use getModelLabel() instead.
Want results from more Discord servers?
Add your server