[Bug?]: Button type attribute has not been set.
in templates
#1517
Labels
bug
Something isn't working
Button type attribute has not been set.
in templates
#1517
Duplicates
Latest version
Current behavior 😯
Default templates don't specify the
type
of abutton
, which is problematic because the default type issubmit
, not"button"
, which users may not expect.Expected behavior 🤔
Templates should specify
type="button"
.Steps to reproduce 🕹
Steps:
npm init solid@latest
with-vitest
as a template or any other option that uses abutton
without specifying itstype
attribute.Context 🔦
Ideally, new projects should be free of any errors and linting issues. It's one less thing to do for people who are trying to create a Solid project.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: