Multiple slices using the same Select options properties

I have multiple Slices that require the same set of options for their Select property. For now, I have to duplicate the options in each Slice which can lead to errors. I would like to have a centralized file where I can set all my options for once. How can I do this?

Hey Louis, I'm not part of the Prismic team, but as far as I know, this is not possible at the moment. I've also have had a need for this in the past - primarily a select box for button types which are used across multiple custom types/slices.

Hello @lrp,

Welcome to the Prismic community, and thanks for reaching out to us.

As @kris stated, this is not directly possible at the moment. There is a workaround that you can do:

  1. Create a Custom type with the Selcet field and put options there.
  2. Give a Content relationship field in each Slice and link this field with the Select Custom type.

That's the only option where you centralized the Select field options.

Let me know if you need further assistance.