-
-
Notifications
You must be signed in to change notification settings - Fork 910
Open
Labels
bugThings that aren't working right in the library.Things that aren't working right in the library.
Description
Describe the bug
In a form I have some submit sl-buttons, with a name/value pair, like
<sl-button type='submit' name='rtype' value='month'>List by month</sl-button>
Their values are hardcoded, which means they are already in in the HTML source and not set by javascript.
When using a form reset button, <sl-button type='reset'>Reset</sl-button>, the value of the button is cleared.
This should not happen as a form reset means all values are reset to their initial state.
It also happens with type='button' buttons, see the demo.
Demo
Metadata
Metadata
Assignees
Labels
bugThings that aren't working right in the library.Things that aren't working right in the library.