Using p-input-icon-left with p-autocomplete

UI Components for Angular
Post Reply
Posts: 1
Joined: 11 Jun 2021, 09:52

11 Jun 2021, 09:57

Is there a way to use the prime icons and p-input-icon classes with the p-autocomplete element?

I.e. I need to replicate something like this only for a p-autocomplete

Code: Select all

<span class="p-input-icon-left">
    <i class="pi pi-search"></i>
    <input type="text" pInputText [(ngModel)]="value1" placeholder="Search">         

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests