A listbox over an enum with rows you can draw yourself, in the same field frame as every other input.
These docs need JavaScript and WebAssembly. This page is also plain markdown: Select as markdown.