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

disabled prop #175

Open
SidMorad opened this issue Jul 18, 2020 · 1 comment · May be fixed by #359
Open

disabled prop #175

SidMorad opened this issue Jul 18, 2020 · 1 comment · May be fixed by #359
Labels
discussion feature Something new is needed

Comments

@SidMorad
Copy link

Is your feature request related to a problem? Please describe.
I want to use disabled prop in a typescript project.

Describe the solution you'd like
One line code would be perfect disabled={inprogress}

Describe alternatives you've considered
Show/hide DatePicker with a boolean value. Please let me know if there is a better alternative?

Additional context
I think it would be great if we could pass input attributes from DatePicker component down into actual <input > tag. I know one way to do it is using renderInput but that requires more line of codes.

@SidMorad SidMorad added discussion feature Something new is needed labels Jul 18, 2020
@topovik
Copy link

topovik commented Aug 27, 2022

In style

.DatePicker {
   pointer-events: none;
}

@SidMorad SidMorad linked a pull request Jul 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion feature Something new is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants