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

Dropdown options add onClick function #813

Closed
pipinet opened this issue Aug 8, 2021 · 1 comment · Fixed by #951
Closed

Dropdown options add onClick function #813

pipinet opened this issue Aug 8, 2021 · 1 comment · Fixed by #951
Labels
feature request New feature or request

Comments

@pipinet
Copy link

pipinet commented Aug 8, 2021

This function solves the problem (这个功能解决的问题)

通常使用Dropdown目的就是为了点击,如果再加一个回调去判断key是什么会显得很累赘。是否考虑在options增加一个onClick function

Expected API (期望的 API)

同上

@github-actions github-actions bot added the feature request New feature or request label Aug 8, 2021
@07akioni
Copy link
Collaborator

07akioni commented Aug 8, 2021

可能会给 option 加一个 props 属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants