Generate Form from Retool DB enum

I'm using the "Generate form from data" function, attempting to use a table I've set up in the Retool Database. For enum type fields, the form generator is showing these fileds as "USER DEFINED" columns rather and making them into "Text Input" fields rather than a "Select" field as I would hope.

Is there anything I'm missing to get this to work properly?


Hey @possumsauce!

I just recently came across a similar question about foreign keys in generated forms. I'm wondering if a similar solution would work for you here.

This stackoverflow post describes how you can query for all the possible inputs to an enum field, perhaps you could use something like that to populate your select component?