Custom action query for exactly two elements

  • 31 December 2023
  • 1 reply

Userlevel 1
Badge +2

Dear Miro team,



I wanted to ask if it is possible to create a custom action for an exact number of elements, e.g. when exactly two frames are selected. 


Currently if I’m specifying ‘multi’ the action is also shown when a single element is selected, or more than 2.


Thank you!

1 reply

Userlevel 6
Badge +4

Hey @Elad,

Thanks for raising this! While it’s a great suggestion to support an option for exactly two elements for the `selection` property in the custom actions’ predicate, it’s not something we support right now.

However, I can definitely appreciate why this would be valuable and it’s something we will be keeping on our radar. Happy to pass this feedback along to our team and keep you updated as things develop with the custom actions!