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

CustomDropdown does not have onclick get selected item #79

Closed
bikashD opened this Issue Sep 7, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@bikashD

bikashD commented Sep 7, 2018

I don't see there is onClick/onChange event to get selectedItem, I have modified it. Can I make a pull request for it?

<CustomDropdown
     buttonText="Date Range"
     onClick={(selectedItem)=>{console.log(selectedItem)}}
     buttonColor="info" buttonColor="info"
     dropdownList={[
       'Today',
       'Yesterday'
     ]}
/>

Also, modified the CustomDropdown to achieve this.

@EINazare

This comment has been minimized.

Collaborator

EINazare commented Sep 10, 2018

Hello there @bikashD ,

Thank you for your interest in using our product and for telling us about this feature.
Can you open a PR on the free/demo product of this product?
https://github.com/creativetimofficial/material-dashboard-react
We would accept it in our next update.

Best,
Manu

@EINazare EINazare closed this Oct 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment