Skip to content

Conversation

@Viczei
Copy link
Contributor

@Viczei Viczei commented Nov 8, 2024

Hello,

The default type on a button is "submit". This cause problems when the tooltip is used in a form since clicking on the tooltip will cause a submit of the form.
Just setting the type on the button to type="button" will fix this.

@revolunet revolunet merged commit 05df693 into codegouvfr:main Nov 8, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants