mercredi 22 novembre 2017

Angular js checkbox value in edit form

I have created one form there are multiple checkbox at edit time that form checkbox is coming with checked using below code.

<input class="checkboxCircle" type="checkbox" ng-checked="" name="leadcircle[]"  ng-model="form.addleadcircle.leadcircle[circle.Id]"  value="" id="cb-">

This code also shows checked checkbox which value need to check. but what happen if I am try to submit form it will not gives value of this already checked checkbox If I am going to select new checkbox it will gives value of that newly checked checkbox.

Any one can please help on this Thanks in advance.




Aucun commentaire:

Enregistrer un commentaire