jeudi 9 janvier 2020

Use a checkbox to display or hide an input with Angular

I need to display or hide an input with a checkbox, the structure is like this :

<input type="checkbox"/> <input type="text" placeholder="Something" value="" ng-if="checkbox checked">

How to simply do it in angular ?




Aucun commentaire:

Enregistrer un commentaire