How can I hide a textarea when I unchecked a checkbox when the textarea is being rendered in *ngFor? So the checkbox should be bind with the textarea, right?
I've been trying to figure out the easiest way of doing it though in my actual code its returning me true if the boxed is ticked and false if it's not, however it not hiding the textarea at all. The default value is true so it shows all the textarea as default.
For some reason this plnkr doesn't allow me use [(ngMode)] I think its a different RC of angular, but the example below is basically the problem I have when you uncheck the box it doesn't hide the textarea.
Aucun commentaire:
Enregistrer un commentaire