ben-ryder / jigsaw

A design system and component library for use in my personal projects.
https://jigsaw.benryder.dev
GNU General Public License v3.0
0 stars 0 forks source link

JTag button does not use type="button" which means it can submit forms when used within one #59

Closed ben-ryder closed 10 months ago

ben-ryder commented 1 year ago

Describe the bug JTag button does not use type="button" which means it can submit forms when used within one.

ben-ryder commented 10 months ago

Tag button has now been replaced with PillButton this currently doesn't set the type, but passes through button props which could include type. If something like a form element is using the PillButton, it can set the type