Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: calendar component doesn't display the clear icon properly in certain conditions #15843

Closed
abhijit-chikane opened this issue Jun 14, 2024 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@abhijit-chikane
Copy link

abhijit-chikane commented Jun 14, 2024

Describe the bug

image
with IconDisplay 'input' shows incorrectly
Calendar having both input icon and clear icon does not show properly

with
IconDisplay 'button' it works properly
image

Environment

Angular 17 project

Reproducer

Stackblitz

Angular version

17.2.0

PrimeNG version

17.18.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.9.0

Browser(s)

Edge 126

Steps to reproduce the behavior

set both
<p-calendar [showIcon]="true"
[iconDisplay]="'input'"
[timeOnly]="true"
hourFormat="12"
[showClear]="true" />

Expected behavior

it should show the icon's properly

@abhijit-chikane abhijit-chikane added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 14, 2024
@abhijit-chikane abhijit-chikane changed the title Component: Title Component: calendar component doesn't display the clear icon in certain conditions Jun 14, 2024
@abhijit-chikane abhijit-chikane changed the title Component: calendar component doesn't display the clear icon in certain conditions Component: calendar component doesn't display the clear icon properly in certain conditions Jun 14, 2024
@SoyDiego
Copy link
Contributor

The same issue was reported here: #15834

@mertsincan
Copy link
Member

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants