html - Angular2 - Radio button value binding -


i have problem bind data group of radio buttons. want bind visible value whenever check 1 of radio button. can me this?

thanks lot!

<div class="col-lg-8 inputs-group">     <div class="btn-group" data-toggle="buttons">         <label class="btn btn-primary active">             <input type="radio" name="visible" [(ngmodel)]="visible" autocomplete="off" value="true">yes         </label>         <label class="btn btn-primary">             <input type="radio" name="visible" [(ngmodel)]="visible" autocomplete="off" value="false">no         </label>     </div> </div> 


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -