•Created by Arthur Minasyan on 11/12/2024 in #❓┊help
How to use Spatie Translatable in filament custom page?
I have a page that is not a resource because there will be one record. But I don't know how to make LocalSwitcher work. I have tried everything possible that came to my mind.
class PrivacyPolicy extends Page implements HasForms, HasActions
•Created by Arthur Minasyan on 1/12/2024 in #❓┊help
Specific RelationManager does not show
I have several relationship managers, but one of them has started not showing up, even though it just started happening.
When I dd() the relation it is there
OrderResource
public static function getRelations(): array
{
return [
RelationManagers\ServicesRelationManager::class,
RelationManagers\PassengerRelationManager::class, // Not visible
RelationManagers\VehicleRelationManager::class,
RelationManagers\PaymentsRelationManager::class,
];
}
public static function getRelations(): array
{
return [
RelationManagers\ServicesRelationManager::class,
RelationManagers\PassengerRelationManager::class, // Not visible