Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Selects (v5+) triggers wrapping form submit #133

Open
pimschaaf opened this issue May 12, 2020 · 0 comments
Open

Selects (v5+) triggers wrapping form submit #133

pimschaaf opened this issue May 12, 2020 · 0 comments

Comments

@pimschaaf
Copy link

Issue description
Clicking the listbox appears to trigger submit instantly when the listbox is nested in a <form> tag.

Example
Used https://github.com/dequelabs/pattern-library/wiki/selects example code, nested in <form> tag.

See https://codepen.io/openroads/pen/rNOKEwP (sorry, Font Awesome is missing here)

Expected behavior
I'm new to this library, but I'd imagine the select would keep a value until submit is triggered either by something like <input type="submit"> or JS submit().

@pimschaaf pimschaaf changed the title Selects (v5+) trigger form submit Selects (v5+) triggers wrapping form submit May 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant