Skip to content

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

@harvey56

Description

@harvey56

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions