ionic3+anglular4中ngModel如何添加驗證

<input id="myinput" name="myinput" class="form-control" required minlength="4" appForbiddenName="bob" [(ngModel)]="hero.name" #myinput="ngModel" > <div *ngIf="myinput.invalid && (myinpu
相關文章
相關標籤/搜索