Modular Content choices in popin reveal instead of dropdown

Hi Dato !

In my company, we’re starting to have a lot of choice in a “Modular Content” field. When you want to add an option, the choices open up in a small dropdown menu. It would be nice to be able to display these choices inside a modal window, in this style:

Thanks in advance.

Orphée

Hi @orphee.b!

Thank you for the suggestion!

This is the kind of the thing that’s hard to make a one-size-fits-all UI for, because every organization and use case wants something slightly different :slight_smile:

The good news is that your devs can probably make something like that using our Plugins SDK, similar to this existing plugin on the Marketplace: Visual Select – take a look at that and see if it’s close enough?

If not, you can maybe either fork it and modify it, or have your devs write their own using a combination of:

  • A Field Extension that replaces our default “small dropdown menu” with a UI of your own design, which
  • Opens a custom modal
  • Then you can either use our React UI Components for a similar look and feel to the native Dato UI, or you can provide your own CSS or UI components (MUI, etc.) – it’s just an iframe

It’s a little bit of work, but should be doable in a few hours. Let us know if you need any help along the way!