Make it possible to use non-inertia same-tab links for MenuItem instances #4676
-
Hello! With Nova 4.7.0, we were using the MenuItem::make('Logout')
->path('/logout') Then we updated to Nova 4.11.1, and it stopped working giving us the following CORS error:
Our solution was to use the Then, we updated to the latest Nova version as of now (4.12.14) and now external links really do open in a new tab (which is to be expected due to the name). However, this leaves us with undesirable options:
So, that being said, is it possible to offer us a way to use a plain Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can now specify MenuItem::externalLink('Documentation', 'https://nova.laravel.com/docs')->openOnNewTab(); |
Beta Was this translation helpful? Give feedback.
You can now specify
openOnNewTab()
to open external link on a separate tab. Otherwise, it will default to open on the current page starting from4.13.0
: