Skip to content

DatePicker isReadOnly does not apply data-readonly attribute to the react-aria-DatePicker #8809

@Mr-Heidari

Description

@Mr-Heidari

Provide a general summary of the issue here

I apply isReadOnly prop to true but it not show data attribute data-readonly

🤔 Expected Behavior?

react-aria-Datepicker element should contain data-readonly="true"

😯 Current Behavior

data-readonly dose not appear on the element even after setting isReadOnly on DatePicker component

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

Explained above

Version

^1.12.1

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Windows 11

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions