lundi 16 mai 2016

checkbox default value don't update table

I have a checkbox code :

<div data-ng-repeat="data in displayCollection | unique:'statut_ticket_id_statut'"> 
                <input type="checkbox"  ng-model="data.libelle" ng-checked="data.libelle === 'Opened'" />    </div>

It display some checkboxes and if i check them it update the table below with the checkbox filters.

I've set the checkbox "Opened" checked by default.

It works, the checkbox is checked but the table below is not updated.

I have to uncheck that default checkbox and check it again to make it works.

Any solutions ??

Aucun commentaire:

Enregistrer un commentaire