Skip to content

Commit

Permalink
fix(components/lookup): search icon is placed within input when not u…
Browse files Browse the repository at this point in the history
…sing an input box or the show more functionality (#701) (#704)
  • Loading branch information
Blackbaud-TrevorBurch authored Oct 18, 2022
1 parent 73c5c0d commit ef2862a
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@
(keydown)="inputKeydown($event)"
(keyup)="inputKeyup($event)"
></textarea>
<ng-container *ngIf="!inputBoxHostSvc && !enableShowMore">
<ng-container
*ngTemplateOutlet="searchIconTemplateRef"
></ng-container>
</ng-container>
</sky-tokens>
<div
*ngIf="selectMode === 'single'"
Expand All @@ -86,18 +91,18 @@
[disabled]="disabled"
(blur)="onAutocompleteBlur()"
></textarea>
<ng-container *ngIf="!inputBoxHostSvc && !enableShowMore">
<ng-container
*ngTemplateOutlet="searchIconTemplateRef"
></ng-container>
</ng-container>
</div>
</div>
<ng-container *ngIf="!inputBoxHostSvc && enableShowMore">
<ng-container
*ngTemplateOutlet="showMoreButtonTemplateRef"
></ng-container>
</ng-container>
<ng-container *ngIf="!inputBoxHostSvc && !enableShowMore">
<ng-container
*ngTemplateOutlet="searchIconTemplateRef"
></ng-container>
</ng-container>
</div>
</sky-autocomplete>
</div>
Expand Down

0 comments on commit ef2862a

Please sign in to comment.