我有两个选择,其中第二个依赖于第一个。我想填充他们两个。这是我的选择:
quetzalcoatl@LAP049 MINGW32 /c/w/-path-redacted- (develop)
$ git remote add asdf "KJH&*^^IGJH*"
quetzalcoatl@LAP049 MINGW32 /c/w/-path-redacted- (develop)
$ git remote -v
asdf KJH&*^^IGJH* (fetch)
asdf KJH&*^^IGJH* (push)
--other urls redacted--
quetzalcoatl@LAP049 MINGW32 /c/w/-path-redacted- (develop)
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
---other sections redacted---
[remote "asdf"]
url = KJH&*^^IGJH*
fetch = +refs/heads/*:refs/remotes/asdf/*
在这种情况下,只填充第一个,当我点击第一个然后填充第二个。我尝试(更改)替换为(单击)但我有同样的问题。有什么建议吗?
这是我的意思:
<div class="z-inputs no-border">
<div class="z-selecticon no-border">
<select [ngModel]="orderTracking.destinationfromCode" (ngModelChange)="modelChanged($event)" (click)="selectItemForRequest(orderTracking);selectGroup(orderTracking.destinationfromCode);">
<option value=""></option>
<option *ngFor="let destination of groupDestinations" [ngValue]="destination.code">{{destination.displayname}}</option>
</select>
</div>
</div>
</div>
<div class="ui-g-1 no-border">
<div class="z-inputs no-border">
<div class="z-selecticon no-border">
<select [(ngModel)]="orderTracking.destinationtoCode">
<option value=""></option>
<option *ngFor="let destination of destinationsTo" [ngValue]="destination.code">{{destination.displayname}}</option>
</select>
</div>
</div>
</div>