1

I am using PrimeNG dropdown and was trying to remove the dropdown toggle icon. I've tried using css, but still doesn't work, maybe I am doing it wrong. Please help.

Antikhippe
  • 6,316
  • 2
  • 28
  • 43
jxStackOverflow
  • 328
  • 1
  • 7
  • 17

2 Answers2

1

Maybe your CSS is overwritten by PrimeNG itself. You have to load yours after it.

This should do the trick :

.ui-dropdown-trigger {
  display: none;
}

See styles.css file in that demo.

Antikhippe
  • 6,316
  • 2
  • 28
  • 43
0

You can use primeng build-in property:

[dropdownIcon]="'none'"
Tyler2P
  • 2,324
  • 26
  • 22
  • 31
Pawel
  • 1