Is it possible to call Enumeration fields list values in API?

System Information
  • Strapi Version: 4.5.0
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi,

Values we specify in Enumeration field we can select from drop-down list within Strapi, which is understood.
But can we call those all those color values (blue, green etc) from API call?
If yes, how that API call would look like?

I have the same need and can’t find a solution… Strapi’s documentation is not complete. Important information for development is missing. Too bad… Strapi is still an extraordinary tool.

I think, it’s better not to use enumeration for this purpose.

Yes finally I created a list component with the label field in text, value in number and disabled in boolean
I display this drop-down list on the front side and I save a number on the strapi side which is the value of the selected choice. It works very well in my case!

1 Like