Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CustomDropdown does not have onclick get selected item #79

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

CustomDropdown does not have onclick get selected item #79

bikashD opened this issue Sep 7, 2018 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@bikashD
Copy link

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 einazare added bug Something isn't working enhancement New feature or request labels Sep 10, 2018
@einazare
Copy link
Contributor

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants