Fixes mat-autocomplete width to be as long as the larger option, fixes subtitle of wizard
This commit is contained in:
parent
98d0b67561
commit
8b2f54f9dc
|
@ -7,7 +7,7 @@
|
|||
<input matInput #textInput autocomplete="off" (focus)="_onInputFocus()" [disabled]="disabled" [placeholder]="placeholder" [ngModel]="_inputValue" (ngModelChange)="_inputValueChange($event)" [matAutocomplete]="auto" [matChipInputFor]="chipList" [matChipInputSeparatorKeyCodes]="separatorKeysCodes" [matChipInputAddOnBlur]="addOnBlur" (matChipInputTokenEnd)="_addItem($event)" (click)="_onInputClick($event)" />
|
||||
</mat-chip-list>
|
||||
<mat-progress-spinner mode="indeterminate" class="multi-loading-bar col-auto" [class.not-loading]="!loading" [diameter]="22"></mat-progress-spinner>
|
||||
<mat-autocomplete #auto="matAutocomplete" [displayWith]="_displayFn.bind(this)" (optionSelected)="_optionSelected($event)">
|
||||
<mat-autocomplete [panelWidth]="auto" #auto="matAutocomplete" [displayWith]="_displayFn.bind(this)" (optionSelected)="_optionSelected($event)">
|
||||
<span *ngIf="_groupedItems">
|
||||
<mat-optgroup *ngFor="let group of _groupedItems | async" [label]="group.title">
|
||||
<mat-option *ngFor="let item of group.items" [value]="item" [class.two-line-mat-option]="_subtitleFn(item)">
|
||||
|
|
|
@ -895,7 +895,7 @@
|
|||
},
|
||||
"ADD": {
|
||||
"TITLE": "Add Dataset",
|
||||
"SUBTITLE": "A DMP can have more than one datasets. Describe new or modify existing datasets here"
|
||||
"SUBTITLE": "A DMP can have more than one datasets. Describe new datasets here"
|
||||
}
|
||||
},
|
||||
"SAVE-DIALOG": {
|
||||
|
|
Loading…
Reference in New Issue