primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Component: P-multiselect change search icon does not work

Open Joroooo opened this issue 1 year ago • 0 comments

Describe the bug

Cannot change search icon in p-multiselect with loading icon.

We have options in multiselect, which are loaded by HTTP Request when the user searches for something. Meaning we need a loading icon to be displayed while the request is being processed. For now, there is only the search icon, which cannot be changed adding [dropdownIcon]="'pi pi-spin pi-spinner'" does not help

Environment

Angular 17 PrimeNg: 17.7.0

Reproducer

No response

Angular version

17

PrimeNG version

17.7.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20

Browser(s)

all

Steps to reproduce the behavior

add p-multiselect element to html, but load the options for it dynamocally options are loaded, but we cannot change the search icon to loading icon while fetching the data

NOTE : adding [dropdownIcon]="'pi pi-spin pi-spinner'" does not help !

Expected behavior

  1. should be possible to change the search icon with whatever icon we want at any time
  2. should be easier to change no results found label at any time

Screenshot 2024-10-18 at 10 34 23

Joroooo avatar Oct 18 '24 08:10 Joroooo