Dynamic select component not auto-selecting first value in the studio

^^ on the note about supabase above… I personally spent a lot of timing on still a fairly rudimentary set of custom code components for fetching from supabase using supabase js

but my other idea/maybe issue:

When you use a Select, it is common that the select is populated via a dynamic source (like a data integration), and in my experience, also a common pattern for the default selected value to be essentially the first element in the array.

At the moment, that requires custom code for “Selected value”, but I have also noticed that putting code for selected value seems to behave strangely in the studio

namely, the selected value isn’t automatically selected, but it is when you generate the code