<div class="pull-left flex" *ngIf="editBox">
<input type="text" class="form-control m-t-n-sm" name="panelLabel" [(ngModel)]="agentData.panelLevelAttributes.panelLabel" id="panelLabel" required>
<a class="btn btn-primary m-t-n-xs btn-sm m-l-sm" [disabled]="panelLabel.invalid" (click)="updatePanelLabel()">Update</a>
</div>
我正在尝试此表格验证我收到以下错误