Ali Allam Ali Allam - 1 year ago 150
AngularJS Question

Radio buttons in bootstrap material design become invisible while using ng-repeat

I use bootstrap material design to add material effects in my project, when I use

with it the radio button become invisible, when I remove radio
class radio button become visible but without its effect.

<div class="col-md-12" ng-repeat="reason in questionData.reasons track by $index">
<div class="radio radio-success">
<input type="radio" ng-model="currentquestion.correct_reason" value="{{$index}}" name="reason">

Answer Source

I return to bootstrap material and I found another way to make radio button from bootstrap elements.

<div class="radio radio-primary"> 
        <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked="">
        <span class="circle"></span>
        <span class="check"></span> 
        Option one is this 
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download