angularjs radio validation bootstrap-switch -


i'm trying have radio input styled bootstrap-switch using angular-bootstrap-switch have set input required form valid when radio checked. using indeterminate feature when form loads - expecting input required until user selects either yes or no.

any thoughts? - plunker below

plunker

<ng-form name="testform" class="form-horiztonal">    <input bs-switch type="radio" name="radio_1" ng-model="rac.tempanswer[1]" switch-on-text="yes" switch-off-text="no" ng-true-value="'yes'" ng-false-value="'no'" required/>    <p class="help-block" ng-show="testform.radio_1.$invalid">answer required</p> </ng-form> 


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -