Form submit redirect error
Answered
Harlex posted this in #help-forum
HarlexOP
When I submit the form in my next tsx application, the page refreshes and goes to this address "http://localhost:3000/dashboard/services?coverPhoto=&title=de%C4%9Fi%C5%9Ftirildi&description=vavas&status=on" Even if I add preventDefault with FormEvent to the handleUpdateService method, it still goes How can I fix this problem
Answered by risky
why do you have a form in a form? maybe you should only have one :)