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
Hi everyone, I’m currently working on a web system using laravel and flowbite. For displaying tables (users, departments, etc.), I’m using flowbite’s datatables, which includes a built-in search bar that can be enabled with javascript. I also tried to customized the table header using the template option, like this
The problem is:
-> When I don’t customize the table (just use the default settings), I can log out just fine from the navbar.
-> But when I do customize the table like in the script above, logging out gives me this error:
"The PUT method is not supported for route logout. Supported methods: POST."
-> If I try logging out from another page (without the customized table), it works normally.
I suspect that DataTables (or something related) might be interfering with the form submission, but I’m not sure how. Does anyone know what could be causing this issue? Any help would be appreciated!
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I’m currently working on a web system using laravel and flowbite. For displaying tables (users, departments, etc.), I’m using flowbite’s datatables, which includes a built-in search bar that can be enabled with javascript. I also tried to customized the table header using the template option, like this
The problem is:
-> When I don’t customize the table (just use the default settings), I can log out just fine from the navbar.
-> But when I do customize the table like in the script above, logging out gives me this error:
"The PUT method is not supported for route logout. Supported methods: POST."
-> If I try logging out from another page (without the customized table), it works normally.
I suspect that DataTables (or something related) might be interfering with the form submission, but I’m not sure how. Does anyone know what could be causing this issue? Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions