-
Notifications
You must be signed in to change notification settings - Fork 457
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
Delete button does not work #70
Comments
you can add a hidden input field inside the form with the id from the product provided to the component.
|
But how will it fix that the submit event does not work? Currently I have solved this problem via |
OumaIntissar
pushed a commit
to OumaIntissar/nextjs-postgres-nextauth-tailwindcss-template
that referenced
this issue
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The delete button from dropdown menu does not work. A click on the button does not invoke the submit event (I used
() => {alert("test");}
instead ofdeleteProduct
as well). I had to useonClick
method to make things work.The text was updated successfully, but these errors were encountered: