Level 70
@sagorislam Make sure that the $navigationParentItem refers to the correct parent. If the parent item doesn’t exist or is misconfigured, the child items may not display correctly.
For example:
// For the top-level menu item
protected static ?string $navigationLabel = 'Notifications';
...
protected static ?int $navigationSort = 0;
// For the second-level menu item
protected static ?string $navigationLabel = 'Email Notifications';
protected static ?string $navigationParentItem = 'Notifications'; // Really important, make sure to set this correctly
...
protected static ?int $navigationSort = 1;
// For the third-level menu item
protected static ?string $navigationLabel = 'Subscription Emails';
protected static ?string $navigationParentItem = 'Email Notifications'; // Really important, make sure to set this correctly
...
protected static ?int $navigationSort = 2;
2 likes