Missing predefined values in Short Text List field validations


I want to customize a List Text field that can have several predefined values.

But I cannot find this predefined values in the extension.field.validations variable.
Example: validations: []

If I set the field as just Text (not List), the predefined values appears in the validations.
Example: validations [{in: [“option1”, “option2”, “option3”]}]

Is there other way to get those predefined values?

Thank you.

I found it!

It’s in extension.contentType.fields[your_field_position].validations[0].in

1 Like