Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

AngularJS how to use btn-group or radio group in list

<label class="btn btn-primary">
    <input type="radio" ng-model="v_review_record.Range_Access" ng-value="1">
    Agree
</label>
<label class="btn btn-primary">
    <input type="radio" ng-model="v_review_record.Range_Access" ng-value="2">
    Disagree
</label>
<label class="btn btn-primary">
    <input type="radio" ng-model="v_review_record.Range_Access" ng-value="3">
    Abstain
</label>

<div ng-init="v_review_record.Range_Access = 1" class="btn-group">
 
PREVIOUS NEXT
Tagged: #AngularJS #radio #group #list
ADD COMMENT
Topic
Name
3+1 =