🐛(react) fix select pills submiting form

We found out that clicking on the delete button of the pill in example
forms were triggering form submit.
This commit is contained in:
Nathan Vasse
2023-09-22 11:42:32 +02:00
committed by NathanVss
parent a07b461621
commit 732183420d

View File

@@ -168,6 +168,7 @@ export const SelectMultiAux = ({
aria-label={t(
"components.forms.select.clear_button_aria_label",
)}
type="button"
className="c__select__inner__value__pill__clear"
onClick={(e) => {
e.stopPropagation();