primeng
primeng copied to clipboard
Doc: Autocomplete Show Clear Demo not working
Describe the bug
The demo in the documentation of the Autocomplete Show Clear is not correct and does not compile.
Environment
Primeng 17.18.11
Reproducer
https://stackblitz.com/edit/uccsl5?file=src%2Fapp%2Fdropdown-clear-icon-demo.ts
Angular version
18.2.3
PrimeNG version
17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.19.1
Browser(s)
Firefox 131.0.3
Steps to reproduce the behavior
- Go to the Autocomplete documentation and to the Show Clear section
- Open the Stackblitz demo
Expected behavior
The demo should compile and run without errors