Closed gsvavarsson closed 2 years ago
Prevent submit when emoji picker is used inside a form.
Currently if picker is embedded in to a form element the undefined buttons submit the form. This change will prevent that by adding type="button"
Preventing form submission on emoji/group click.
Added type="button" to emoji and group buttons.
type="button"
Thanks for your contribution
Prevent submit when emoji picker is used inside a form.
Context
Currently if picker is embedded in to a form element the undefined buttons submit the form. This change will prevent that by adding type="button"
Summary
Preventing form submission on emoji/group click.
Relevant Technical Choices
Added
type="button"
to emoji and group buttons.Checklist