How to build a Form in a popup? #11473
-
Hi, My understand was that with the alpine(JS) way, it should not reload the page. It looks like even after using alpine, the page reloads at form submit... (I am using a simple form with standard code as per the docs) As I need to build a form inside a popup, I wouldn't want the page to reload that closes the popup... what am I doing incorrectly? Also, the console even shows an error saying the Thank you.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Have you installed the Alpine precognition driver? https://laravel.com/docs/11.x/precognition#using-alpine |
Beta Was this translation helpful? Give feedback.
Have you installed the Alpine precognition driver? https://laravel.com/docs/11.x/precognition#using-alpine