We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing null as 'before' should add the option element in front of the list:
SelectElement select = ... select.add(new OptionElement("hey"), null);
Instead it throws an exception inside HTMLSelectElementImplementation.add: Invalid class: expected instance HTMLElementImplementation
See also: http://api.dartlang.org/dom/HTMLSelectElement.html
The text was updated successfully, but these errors were encountered:
A workaround is:
select.elements.add(new OptionElement(".."));
Sorry, something went wrong.
Should we remove this method?
Added this to the M1 milestone.
Removed Area-DOM label. Added Area-HTML label.
Set owner to @blois. Added Accepted label.
I've removed the add method- the element collection should be used directly.
Added Fixed label.
Bump pub version
4b3db02
> git log --oneline 04b054b62cc437cf23451785fdc50e49cd9de139..master 0d185a39 (HEAD -> master, origin/master, origin/HEAD) Push null-safety forwards to 2.11 (#2604) 56f9f27f Hide outdated --mode flag (#2603) 61ce6f81 Avoid double loop (#2605) fa6e57d7 (disable_mixed_mode_validation) Fix outdated latest ordering (#2598) 6549e4aa Remove unused dependency from pubspec.yaml (#2592) 61543d07 Don't look for external package foo during testing (#2599) 590b448f Fixed license headers (#2595) 04e0601e Don't show entries for dev-dependencies in outdated --json --no-dev-dependencies (#2591) 8c3778c4 Configure GitHub move app (#2578) eec7beca (top_level_command) Pass --(no-)sound-null-safety arg through to VM. (#2542) 152e4740 Warn about publishing in mixed mode (#2583) 0b7a3abe Removed april fools toys (#2325) b74a5b73 Actually print hints (#2582) 8ec3a66d (pub2) Fix outdated --no-color (#2572) 7bb3d4e6 Use getSdkPath() in NullSafetyAnalysis (#2573) 3c578f24 Drop the "magic" package concept (#2577) 0e967ff0 Remove unused function (#2570) 988fefef Remove dependency overrides (#2568) Change-Id: I58bf14234ed55bf9d825de60a40ded1d65281195 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/158003 Reviewed-by: Jonas Jensen <[email protected]> Commit-Queue: Sigurd Meldgaard <[email protected]>
blois
No branches or pull requests
Passing null as 'before' should add the option element in front of the list:
SelectElement select = ...
select.add(new OptionElement("hey"), null);
Instead it throws an exception inside HTMLSelectElementImplementation.add:
Invalid class: expected instance HTMLElementImplementation
See also: http://api.dartlang.org/dom/HTMLSelectElement.html
The text was updated successfully, but these errors were encountered: