Answer the question
In order to leave comments, you need to log in
How to organize work with radio-button true/false?
$scope.content = {
values: [{
value: "Option 1",
checked: false
}, {
value: "Option 2",
checked: true
}, {
value: "Option 3",
checked: false
}]
}
<div radio-button-group class="container component simple-text">
<div class="row">
<div class="col-md-12">
<label ng-repeat="c in content.values" class="radio-inline">
<input type="radio" name="optradio" ng-model="c.checked"/>
{{c.value}}
</label>
</div>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question