Skip to content Skip to sidebar Skip to footer

Angularjs How To Generate A List Of Sliderbars With Displayed Value

I want to have a list of questions and there is a slider bar with displayed value following each of the questions. Here is the example how to do the data-binding from AngularJs web

Solution 1:

OK. I think your input shoul be like this:

<input type="range" id="{{'sa' + q.question_id}}" value="0" min="1" max="10" ng-model="q.answer">

Post a Comment for "Angularjs How To Generate A List Of Sliderbars With Displayed Value"