mercredi 12 septembre 2018

Laravel View changes route with Accordion click

I have a view with an accordion in Laravel 5.6 Here is the clickable header:

<a data-toggle="collapse" aria-expanded="false" aria-controls="accordion-1 .item-" href="div#accordion-1 .item-">

The address that gets to this view is:

http://example.com/edocasm/elliance/1/refview

Problem is, when user clicks the accordion header to open the panel, the address changes to:

http://example.com/edocasm/elliance/1/div#accordion-1%20.item-16

In other words, the refview is dropped, therefore the route changes.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2MqrfzQ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire