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

TextArea is rendering clear icon when it is readonly #56

Open
ColinBlake14 opened this issue Apr 5, 2024 · 0 comments
Open

TextArea is rendering clear icon when it is readonly #56

ColinBlake14 opened this issue Apr 5, 2024 · 0 comments

Comments

@ColinBlake14
Copy link
Contributor

Steps to reproduce

Use TextArea with props: readOnly=true, allowClear=true, defaultValue="Some value"

What is expected?

TextArea should not support allowClear when it is readOnly

What is actually happening?

TextArea is rendering clear icon

Environment Info
React react 17.0.2
System Windows 10
Browser Google Chrome v. 123.0.6312.86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant