Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from Select.options to Select.selectedOptions (#6678)
* Add selectedOptions as a performance improvement Move from `options` to `selectedOptions` to reduce code and safe one array traversal. See https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions for more information. Will not work in IE11! * Remove unnecessary .filter for selected options Since we moved from `Select.options` to `Select.selectedOptions` we don't need to filter for selected options by ourselfs anymore. Co-authored-by: Bill <bluebill1049@hotmail.com>
- Loading branch information