html - Radio button is selecting multiple -
i have input type of radio, when using angular wire backend. however, allowing multiple selections, odd since radio default single selection.
<div ng-repeat="s in survey"> <input type="radio" data-ng-model="s.isselected">{{s.id}} </div>
has run this, or notice missing?
assign name
attribute same value radiobuttons in same group.
ex:
<input type="radio" name="group1" data-ng-model="s.isselected">{{s.id}}
Comments
Post a Comment