When i try to post through a REST api to a collection that has an optional enum type field it doesn’t let me post with an empty value. But if I post with a selected value it works fine.
this is the validation error
[field] must be one of the following values: [list of possible values]
err: ValidationError
Is it something i’ve done wrong or it’s the default behaviour of strapi?
Does anyone know a possible fix?
Make sure your advance settings look like this for the field and if you haven’t selected any option then don’t submit that field name to your Post REST api.