-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Calendar: Add Clear "X" button to input field #6745
Comments
@melloware Has anyone given you any insight or anything I should add? |
I am not sure what you mean the Clear Button is used here: https://primereact.org/calendar/#button And it clears the Date for me. What exactly are you looking for? |
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. |
@melloware X on the input, I know we can use the footerTemplate but I wanted to go or simplify it |
OH that is different. The current Clear button is in the panel you are asking for a Clear "X". Let me update the ticket |
Describe the bug
Currently the component exposes clearButtonClassName, however there is no property that allows me to enable the clear button in the input or something like that, as it can be done with the nextIcon, icon, etc. buttons. What should be done to make the button clear in the input?
Reproducer
No response
PrimeReact version
latest
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: