This works when I accept the parameter in livewire style but the filament shows the Admin panel's menu when I send the parameter. /trainer/attendee-sheet/12 -> This page shows the admin panel's navigation. /trainer/attendee-sheet -> This page shows correct navigation.
Solution
worked using this,
public static function getSlug(): string{ return 'attendee-sheet/{id}';}
public static function getSlug(): string{ return 'attendee-sheet/{id}';}