1
ventgrey
98d

Sveltekit's progressive enhancement on forms is an obstacle more than a tool.

Submit buttons stop working when they want.
Other buttons in the forms may trigger an action via POST if their type is not defined.

Everything with no feedback whatsoever. At least tell me I'm an idiot in the form or let me know why a button type="submit" does nothing to send the form data 🤦

Comments
  • 1
    Are you using typescript? I would expect with proper typings you should be able to debug things more easily, perhaps even get compilations errors right away
Add Comment