Forge: select from long list (during edit) in Confluence

I am wondering how do the following in UIKit:

A Macro that displays a list (table?) of — say — max 5 items, but managing it is selecting from a set that may be much larger (maybe 100 items). I have been thinking about (but no idea how yet):

  • Macro with Table to display on the page and MacroConfig with (multiple) Select (will that work with -say- 100 elements?)
  • Table to display on the page and Select with it with buttons for add/delete?

Any better idea?