Skip to content

Commit

Permalink
intial commit (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
anishfyle authored May 16, 2024
1 parent 62e12c6 commit 66bd747
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div *ngIf="i===0" class="tw-text-16-px tw-font-500 tw-text-normal-text-color tw-mb-18-px">
<p>{{ destinationFieldText }}</p>
</div>
<p-dropdown appendTo="body" [options]="destinationFieldOptions" [placeholder]="destinationPlaceholderFieldText" [formControlName]="'destinationName'" dropdownIcon="pi pi-chevron-down"
<p-dropdown appendTo="body" [filter]="true" [options]="destinationFieldOptions" [placeholder]="destinationPlaceholderFieldText" [formControlName]="'destinationName'" dropdownIcon="pi pi-chevron-down"
[optionLabel]="destinationAttributeNames.label" [optionValue]="destinationAttributeNames.value" class="!tw-w-360-px" [disabled]="isDestinationDisabled">
<ng-template pTemplate="selectedItem" let-item>
<div class="tw-flex tw-justify-between tw-items-center">
Expand All @@ -28,7 +28,7 @@
<p>{{ sourceFieldText }} <app-mandatory-field *ngIf="isMandatory"></app-mandatory-field></p>
</div>
<p-dropdown appendTo="body" [options]="sourceFieldOptions" [placeholder]="sourceFieldPlaceholderText" [formControlName]="'sourceName'"
[optionLabel]="sourceAttributeNames.label" [optionValue]="sourceAttributeNames.value" [ngClass]="{'selectedItem': mappingField.value.sourceName, 'filterDropdown': !mappingField.value.sourceName, 'showClearIcon': showCrossIcon && mappingField.value.sourceName, 'error-box': mappingField.invalid && mappingField.value.isRequired && mappingField.touched,
[filter]="true" [optionLabel]="sourceAttributeNames.label" [optionValue]="sourceAttributeNames.value" [ngClass]="{'selectedItem': mappingField.value.sourceName, 'filterDropdown': !mappingField.value.sourceName, 'showClearIcon': showCrossIcon && mappingField.value.sourceName, 'error-box': mappingField.invalid && mappingField.value.isRequired && mappingField.touched,
'normal-box': !(mappingField.invalid && mappingField.value.isRequired && mappingField.touched)}" [dropdownIcon]="'pi pi-chevron-down ' + brandingConfig.brandId">
<ng-template let-options pTemplate="item">
<div #textElement
Expand Down

0 comments on commit 66bd747

Please sign in to comment.