mardi 5 avril 2016

Update Material Lite checkbox with Angular 2

I am trying to use Material Design Lite in Angular 2 and have trouble updating checkboxes after the state has changed. See the following Plunker example.

When the user clicks on "All" to select all boxes, only the normal checkboxes update. I have tried using componentHandler.upgradeDom() and componentHandler.upgradeAllRegistered() but it made no difference.

How can I get the data-binding to work?




Aucun commentaire:

Enregistrer un commentaire