Calendar: showClear with showIcon & [iconDisplay]="'input'" makes the clear button float
Author: vmmansilla93Created Jun 12, 2024Updated Sep 21, 2026
LabelsType: Bug
Describe the bug
When adding [showClear]="true" and [showIcon]="true" [iconDisplay]="'input'"` the clear icon is floating.
Environment
Reproducer
https://stackblitz.com/edit/izdhsy?file=src%2Fapp%2Fcalendar-icon-demo.html
Angular version
last version
PrimeNG version
last version
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Source: primefaces/primeng