Skip to content

docs-bug(mat-slider): thumbLabel unsupported #29442

@dmauro13

Description

@dmauro13

Documentation Feedback

Hi,

I recently upgraded from angular 13 to angular 18, and I noticed that since 16v mat-slider does not support the thumbLabel option.

In the documentation, it was present in version 14, then it disappeared.

Now I don't know what to replace it with, and in the documentation, there is no mention of this property disappearing. How can I replace it? And how can I make other components where it happens as well?

@input()
thumbLabel: boolean

<mat-slider
[(ngModel)]="_value"
[max]="_max"
[min]="_min"
[step]="_step"
[thumbLabel]="true"
color="primary" #ngSlider><input matSliderThumb (change)="onChange({source: ngSliderThumb, parent: ngSlider, value: ngSliderThumb.value})" #ngSliderThumb="matSliderThumb" />

Affected documentation page

https://v14.material.angular.io/components/slider/api

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is related to documentationneeds triageThis issue needs to be triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions