https://prefect.io logo
i

Ivan

09/08/2023, 1:04 PM
Hi! Is there any opportunity to add the dropdown menu in the deployment run window? We have a few params where the value could be like: • val_1 • val_2 • val_3 typing them over again with the string input — takes time and effort. So would be cool to have a dropdown option here! Maybe there is an option to add some of the dropdowns?
1
c

Craig Harshbarger

09/08/2023, 2:25 PM
If you make your parameter an enum you should get a dropdown in the ui with the enum
i

Ivan

09/08/2023, 2:57 PM
@Craig de Gouveia Thank you! I didn't yet made the approach with enum, but Literal also works!
❤️ 1
image.png
❤️ 1
c

Craig Harshbarger

09/10/2023, 4:30 PM
Nice! Glad you figured it out