Skip to content

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

Closed

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    docsThis issue is related to documentationThis issue is related to documentationneeds triageThis issue needs to be triaged by the teamThis 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