You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that the item IDs are created from the Tabs key, and if my subtabs have the same titles, then switching between subtabs is only possible on the first top-level tab. On the rest top-level-tabs always shows the contents of the first subtab. Version 14.17.0
You can reproduce the problem as follows:
use Orchid\Support\Facades\Layout;
public function layout(): array
{
return [
Layout::tabs([
'Internal' => [
Layout::tabs([
'First' =>
Layout::rows([
Label::make('internal_first_tab')
->title('Internal First Tab'),
]),
'Second' =>
Layout::rows([
Label::make('internal_econd_tab')
->title('Internal Second Tab'),
]),
'Third' =>
Layout::rows([
Label::make('internal_third_tab')
->title('Internal Third Tab'),
]),
]),
],
'External' => [
Layout::tabs([
'First' =>
Layout::rows([
Label::make('external_first_tab')
->title('External First Tab'),
]),
'Second' =>
Layout::rows([
Label::make('external_second_tab')
->title('External Second Tab'),
]),
'Third' =>
Layout::rows([
Label::make('external_third_tab')
->title('External Third Tab'),
]),
]),
],
]);
];
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The problem is that the item IDs are created from the Tabs key, and if my subtabs have the same titles, then switching between subtabs is only possible on the first top-level tab. On the rest top-level-tabs always shows the contents of the first subtab. Version 14.17.0
You can reproduce the problem as follows:
Beta Was this translation helpful? Give feedback.
All reactions