A value the Wix user picks from a fixed set of options you define. Use it for a field with a small, known list of choices, such as a sort order or a status.
In your component code, import the TextEnum type from @wix/editor-react-types:
At runtime it's a plain string holding the chosen option value, so your code compares or applies it directly:
Your code either consumes a value of type TextEnum or produces one:
In your manifest, declare the field with the textEnum dataType:
Declare a textEnum field in one of these ways, depending on where the value comes from. A
textEnum requires a textEnum options object in every role.
Last updated: 2 November 2026