Ask a Question
Back to All

How to use select type for section settings

It is written here that it is possible to set up a select type for a section setting. I'm trying to use it but it is not specified how to define the select options.
Given this code it seemed that I had to use an options array attribute so i set it up like that :

- label: Afficher
  id: display
  type: select
  - value: 'tout le monde'
  - value: 'en activité'
  - value: 'plus en activité'

This is almost working : In the UI editor I see a 3 options select list, but the values i set up are not displayed.
Can you please telle me how to make it work ?

Thanks !