-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
select:not([multiple])
elements
First, introduce the `PersistElement` type to incorporate `<input>`, `<textarea>`, and `<select>` elements. Next, incorporate some special handling for `HTMLSelectElement`, since they don't have a `.defaultValue` property. Unfortunately, setting `HTMLSelectElement.value` to anything other than a single `string` value clears it. This means that `<select>` elements with the `[multiple]` attribute cannot restore previously selected `<option>` elements.
- Loading branch information
1 parent
30de742
commit 71a2686
Showing
2 changed files
with
53 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters