mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e36d5b201a
Previously, `registerOnChange` used `hasOwnProperty` to identify if the property is supported. However, this does not work as the `selectedOptions` property is an inherited property. This commit fixes this by verifying the property on the prototype instead. Closes #37433 PR Close #37620