-
Notifications
You must be signed in to change notification settings - Fork 202
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
Is it possible to support disabled={true} #52
Comments
It's a standard of react-bootstrap. |
Any workaround for this? |
+1 |
Came here to see if this was available as a prop. A workaround is just to define the button separately, and add the 'disabled' attribute to the button itself. Then only return the button, if disabled. const button = ( <button ... disabled={ disabled } /> );
return disabled ? button : (
<DateRangePicker ...>{ button }</DateRangePicker>
); |
closing this due to inactivity. please re-open if this is still an issue in v6.0.0 or greater |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: