1. Provide ngModel directive in the HTML element <input type="text" [(ngModel)]="myInput"> · 2. To make it work you need to import theFormsModule ...
確定! 回上一頁