This repository was archived by the owner on May 14, 2026. It is now read-only.
Replies: 1 comment 2 replies
-
|
I can understand all focus goes to WebAwesome. Please at least let me know if this problem is addressed in WA. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Shoelace documentation says submit buttons can also have a name and value, which are submitted with the form data.
https://shoelace.style/components/button#properties
For me this is working fine and very convenient. One user pointed out to me he used a form reset button and after that, those name/value pairs are still submitted, but the value is empty/undefined, caused by the reset functionality of the form.
Is there any way to prevent the button value from clearing?
For what I read, standard inputs will be reset to their defaultValue after a reset, which is the state after initial page load.
Beta Was this translation helpful? Give feedback.
All reactions