mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
Avoid repeated option scans when a multi-select receives multiple values
with the default identity comparison. Match registered options against a
Set of requested values and retain the first match for duplicate options.
Keep signed zero distinct, ignore sparse-array holes, and preserve custom
comparator invocation order. Apply all selection writes synchronously and
cover option setters, removal, duplicate identities, and model updates.
(cherry picked from commit 0a61a687c4)