Skip to content

TextArea is rendering clear icon when it is readonly #56

@ColinBlake14

Description

@ColinBlake14

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions