Choice
One option of an enum.
| Key | Type | Required | Notes |
|---|---|---|---|
name |
string | yes | The literal string written to the data file when this choice is selected. min length 1 |
display |
string | TextDisplay | no | |
shortcut |
string | no | Chord that picks this choice. Fires app-wide, not only while the field has focus, so it shares one namespace with every other shortcut in the config. |
selectedStyle |
Style | no | Applied to the widget while this choice is the selected one. |