Skip to content
Discussion options

You must be logged in to vote

There's no built-in way to do this today, but I love the idea! I'll think about how to facilitate this kind of behavior in a more "native" way.

In the meantime what I'd recommend is overriding removeRuleAction and rendering the menu with all three buttons instead of just the "remove" button.

Here's a sandbox where I replaced the rule remove button with a poor man's "menu" using some cheeky CSS on a <details> element:

The styles aren't really important, but the component logic should give you some ideas.

RuleActionMenu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@KaralyosBela
Comment options

Answer selected by KaralyosBela
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants