What do you mean by "action"? You might be confused as to what a regular html <button></button> element does. If it's in the <form>, then it'll submit the form. Just like with normal HTML, you specify the form action in the form element, not on the button.
On the other hand, if you use a <button> outside a form, it does nothing natively, no matter your back-end framework. This is good, because it allows you to bind it to events using javascript (without having to prevent default browser action like you would with <a href="#">) --- laravel or not, this is what's done with the non-form <button> on websites: You need to bind some JS.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community