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

Submitting using an sl-button includes an empty name-value pair #6

Open
benopotamus opened this issue Mar 16, 2024 · 1 comment
Open

Comments

@benopotamus
Copy link
Owner

See the result of using the sl-button submit button in shoelace-test.html. Unlike the native HTML button, the sl-button includes '': [''] in the request.

e.g.

{'': [''],
 'field-in-fieldset-a': [''],
 'mycolorpicker': [''],
 'myinput': [''],
 'myradiogroup-preselect': ['1'],
 'myrange': ['0'],
 'myrating': ['0'],
 'mytextarea': [''],
 'shoelace-select': ['']}
@benopotamus
Copy link
Owner Author

The '': [''] is actually the name and value of the sl-button used to submit the form.

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

No branches or pull requests

1 participant