Print value of range selection


#1

Brand spanking new and clueless. How do I display the value of a range input selection to the user so they can see it go up and down as they slide right and left? Tried ng-model = “sliderrange” and then {{sliderrange}} and other variations.


#2

Try <ion-range [(ngModel)]="yourValue" pin="true"


#3

Thanks for the response. However, when I use:

<ion-item>
    <ion-range [(ngModel)]="singleValue" color="danger" pin="true"></ion-range>
  </ion-item>

No range slider appears in the app preview. Yes, it inside a form. Is there another component/call required? If I use an <input tag, then then range slider appears but no value is available for {{singleValue}}