Issue
I am using Angluar with material design, i am facing some issue, so the question is how to make material slider disabled on some specific value
<mat-slider min="1" max="5" step="0.5" value="{{myVar}}"></mat-slider>
I need to show it on my component with some specific value that comes from db, and can not be changed until it will change into db.
Solution
Actually you can just use disabled
as like this
<mat-slider min="1" max="5" disabled step="0.5" value="{{myVar}}"></mat-slider>
not big deal.
Answered By - Kraken
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.