Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select component's clear button submits form #196

Closed
skovacic-croz opened this issue Feb 8, 2024 · 0 comments · Fixed by #200
Closed

Select component's clear button submits form #196

skovacic-croz opened this issue Feb 8, 2024 · 0 comments · Fixed by #200
Labels
bug Something isn't working

Comments

@skovacic-croz
Copy link
Contributor

skovacic-croz commented Feb 8, 2024

Basic information

  • Tiller version:
    1.8.0
  • Module:
    selectors

Bug description

When Select component is inside of a form, and you select some value and then click on the clear button, form will be submitted

Steps to reproduce

  1. Put Select component in some form
  2. Select some value
  3. Try to clear value

Expected behavior

Clear button is not submit button, and does not submit the form

Actual behavior

Clear button submits form if inside of one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant