mirror of
https://github.com/angular/angular.git
synced 2026-11-28 17:37:50 -05:00
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