Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
<mat-slider min="1" max="5" step="0.5" value="1.5"></mat-slider>
Using this MatSlider component will print the following error in the console
Reproduction
StackBlitz link: https://material-14.angular.cn/guide/getting-started
Steps to reproduce:
- Following the official example, the console reports this error after MatSlider is displayed on the page
Expected Behavior
No error
Actual Behavior
error
Environment
- Angular: 18.2.4
- CDK/Material: 18.2.4
- Browser(s): Chrome 128.0.6613.84
- Operating System (e.g. Windows, macOS, Ubuntu): Linux Deepin v23