Merge pull request #8119 from AllForNothing/dev_ssj

fix bug: Save button not enabled when all the required fields are filled on Safari, Edge , Internet Explorer
This commit is contained in:
Will Sun 2019-06-24 15:34:17 +08:00 committed by GitHub
commit 8ea9e44103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,7 @@
<div class="form-select">
<div class="select endpointSelect pull-left">
<select id="src_registry_id" (change)="sourceChange($event)" formControlName="src_registry" [compareWith]="equals">
<option class="display-none"></option>
<option *ngFor="let source of sourceList" [ngValue]="source">{{source.name}}-{{source.url}}</option>
</select>
</div>
@ -97,6 +98,7 @@
<div class="form-select">
<div class="select endpointSelect pull-left">
<select id="dest_registry" (change)="targetChange($event)" formControlName="dest_registry" [compareWith]="equals">
<option class="display-none"></option>
<option *ngFor="let target of targetList" [ngValue]="target">{{target.name}}-{{target.url}}</option>
</select>
</div>

View File

@ -265,3 +265,7 @@ clr-modal {
width: 20rem;
}
}
.display-none{
display: none;
}