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

Adding 2 different sections in the suggestions list, that trigger 2 different handlers #834

Open
harvey56 opened this issue Nov 28, 2021 · 0 comments

Comments

@harvey56
Copy link

Are you reporting a bug?

Not a bug

Are you making a feature request?

This is a potential feature request if that feature is not available.

In my render suggestions menu, I have a list of suggestions. For each suggestion, I have a name that describes that suggestion, and on the right of the suggestion, a "+".

I would like to achieve the following :

  • if I click on the suggestion name, it triggers a specific event handler (ex: fetch some data to render a component).
  • if I click on the "+", it triggers a different event handler (ex: add the suggestion to a table), and the list of suggestions remains open to give the ability to add other suggestions with other "+".

Can this be achieved ?

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

No branches or pull requests

1 participant