What is the expected behavior?
Select should not throw errors to console.
What is the current behavior?
When a select component has a reset option (but a non-reset option is currently selected) and is focused (the option list is closed), and you start pressing arrow-up key, the component throws error to console when you reach the reset option.
What are the steps to reproduce?
- Create select component with reset option
- Select non-reset option
- Focus the select but don't open the options list (e. g. focus with tab key)
- Start pressing the arrow-up until you reach the reset option
- Take a look into the console
The issue is reproducible on the Material documentation in select examples, e. g. Select with 2-way value binding or Select with reset option
https://material.angular.io/components/select/examples
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 7.3.4, tested on Chrome only.
Is there anything else we should know?
Nope.
What is the expected behavior?
Select should not throw errors to console.
What is the current behavior?
When a select component has a reset option (but a non-reset option is currently selected) and is focused (the option list is closed), and you start pressing arrow-up key, the component throws error to console when you reach the reset option.
What are the steps to reproduce?
The issue is reproducible on the Material documentation in select examples, e. g. Select with 2-way value binding or Select with reset option
https://material.angular.io/components/select/examples
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 7.3.4, tested on Chrome only.
Is there anything else we should know?
Nope.