hi <@ULVA73B9P> I defined some custom enums in my ...
# ask-marvin
s
hi @Marvin I defined some custom enums in my code. These enums used to show in Prefect UI in a nice dropdown that made it really easy for the user to choose from the different values. After updating the server to prefect version 3.0.2 it only shows null values. Is there any way I fix this and get the dropdown with possible values in prefect 3.x version?
👍 1
m
It seems like there were some changes in the Prefect UI around version 3.0.2 and beyond, but I couldn't find specific information about custom enum dropdown issues or any related fixes in the documentation or GitHub issues. It may be a good idea to check the Prefect community forums or GitHub discussions to see if others have faced similar issues. In the meantime, here's a link to Prefect's input handling documentation you might find useful, as it discusses how Prefect validates inputs which could be related to your enum issue. If the dropdown functionality for enums isn't working, it could be due to changes in how inputs are handled or displayed in the UI. If this persists and no community solutions are available, you might consider opening an issue on Prefect's GitHub to get further assistance. Hopefully, your enums will start behaving themselves before they decide to go on strike.