Skip to content

Commit

Permalink
Merge pull request #252 from GOKULRAJ136/release-new
Browse files Browse the repository at this point in the history
MOSIP-32060 : Added id for policy group values
  • Loading branch information
aranaravi authored Mar 21, 2024
2 parents 5097a1c + 01cfe33 commit c789a0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
captureDropDownValue($event, field.name, 'primary')
"
[value]="data.fieldCode"
[id]="data.fieldValue"
>
{{ data.fieldValue }}
</mat-option>
Expand All @@ -74,13 +75,13 @@
required
disabled="{{setreadonly}}"
>
<input placeholder="Search..." matInput type="text" (keyup)="onKey($event.target.value)" class="search-input">
<mat-option
*ngFor="let data of searchResult"
*ngFor="let data of dropDownValues[field.name]"
(onSelectionChange)="
captureDropDownValue($event, field.name, 'primary')
"
[value]="data.fieldCode"
[id]="data.fieldValue"
>
{{ data.fieldValue }}
</mat-option>
Expand Down Expand Up @@ -136,6 +137,7 @@
captureDropDownValue($event, field.name, 'primary')
"
[value]="data.fieldCode"
[id]="data.fieldValue"
>
{{ data.fieldValue }}
</mat-option>
Expand Down Expand Up @@ -209,6 +211,7 @@
captureDropDownValue($event, 'sbiId', '')
"
[value]="data.fieldCode"
[id]="data.fieldValue"
>
{{ data.fieldValue }}
</mat-option>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,7 @@ export class MaterDataCommonBodyComponent implements OnInit {
this.dataStorageService
.getFiltersForAllDropDown('partnermanager/partners', request)
.subscribe(response => {
if(response.response.filters)
this.dropDownValues.partnerTypeCode.primary = response.response.filters.sort((a, b) => (a.name && b.name) ? a.name.localeCompare(b.name) : 0);
this.dropDownValues[key] = response.response.filters;
});
}

Expand Down

0 comments on commit c789a0e

Please sign in to comment.