Automatic Dropdown Field Rendering
Erizos Studio supports a convenient feature that automatically renders a field as a dropdown when the field label is written in a key/value format.
How it works
When a field label follows a key=value
format with multiple entries, Studio displays it as a dropdown menu instead of a plain number input.
Example
If you define a label like this: MyField 0=Hello 1=World 2=From 3=Studio
Erizos Studio will render a dropdown with the following options:
Value
→Label
:
0 → Hello
1 → World
2 → From
3 → Studio
Switching back
If needed, users can click the magic wand icon next to the field to switch back to the original numeric input mode. This is useful when manual entry of values is required, or if the dropdown is not suitable for a specific use case.
Tips
- Use spaces to separate each
key=value
pair. - The key must be a number (e.g.,
0=Option1
). - The label must not contain spaces unless quoted (e.g.,
0="First Option"
is not supported currently). - Ideal for settings, modes, or flags where values are fixed and predefined.