Skip to content

Disabled property doesn't work for inline DatePicker #5620

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

Open
andriy-viyatyk opened this issue May 11, 2025 · 2 comments
Open

Disabled property doesn't work for inline DatePicker #5620

andriy-viyatyk opened this issue May 11, 2025 · 2 comments

Comments

@andriy-viyatyk
Copy link

"disable" property has no effects on DatePicker with "inline" property

Steps to reproduce the behavior:

  1. Go to demo page.
  2. Find "Inline version" demo
  3. Add "disabled" property to the DatePicker
  4. Nothing is disabled

Expected behavior
"disabled" property supposed to disable user interaction.

@andriy-viyatyk
Copy link
Author

As workaround I have applied pointerEvents: "none" style to disable calendar, but it would be nice to have disabled property working.

@balajis-qb
Copy link
Contributor

Hi @andriy-viyatyk, The reason is because, the package by default don't have disabled property. When you set disabled it's applied to the datepicker input and it's getting disabled. But for the iniline datepicker, we need to add a support for it. I'll work on it.

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

2 participants