Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Iframe mode : menu link not working #1065

Open
invaders-xx opened this issue Feb 11, 2022 · 7 comments
Open

[BUG] Iframe mode : menu link not working #1065

invaders-xx opened this issue Feb 11, 2022 · 7 comments
Labels
adminlte-bug Problem related to AdminLTE template

Comments

@invaders-xx
Copy link

Describe the bug

a menu entry in config/adminlte.php with route like:

'route' => ['users.index', ['filters' => ['type' => 1]]],

is not working with iframe mode is enabled.

Environment

Complete the next environment information.

Item Version
Laravel 8
Project latest
OS debian
@invaders-xx invaders-xx changed the title Iframe mode : menu link not working [BUG] Iframe mode : menu link not working Feb 11, 2022
@dfsmania
Copy link
Collaborator

dfsmania commented Feb 11, 2022

Hi @invaders-xx What is the href attribute generated on that link? Does this only happens for the IFrame mode?

@dfsmania dfsmania added the waiting-for-info Waiting for author feedback label Feb 11, 2022
@invaders-xx
Copy link
Author

Hi @Shidersz,

The href looks like : href="https://laravel.test/backend/users?filters%5Btype%5D=1"

It only happens for the iFrame mode.

Many thanks for your feedback.

@dfsmania
Copy link
Collaborator

@invaders-xx When you say "is not working" what you mean?

  • The page did not open?
  • The page trigger a php exception?
  • The filters did not apply?
  • Have you checked the browser's console to see if there is any error?

May you try using the browser's inspector tool an change the href value to https://laravel.test/backend/users?filters[type]=1

@invaders-xx
Copy link
Author

console error :

Syntax error, unrecognized expression: #tab-https-laravel7-test-backend-users-filters%5Btype%5D-1

@dfsmania
Copy link
Collaborator

Thanks @invaders-xx , this may be a bug on the underlying AdminLTE package when assigning the ID to the iFrame tab, or something like that.

@REJack can you check this one?

@dfsmania dfsmania added adminlte-bug Problem related to AdminLTE template and removed waiting-for-info Waiting for author feedback labels Feb 14, 2022
@invaders-xx
Copy link
Author

Any news ?

@dfsmania
Copy link
Collaborator

@invaders-xx I suggest you to open an issue on https://github.com/ColorlibHQ/AdminLTE , and point the issue here for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adminlte-bug Problem related to AdminLTE template
Projects
None yet
Development

No branches or pull requests

2 participants