Form Component Still Uses Deprecated Select Component

I’m using a form component linked to data from an action, and have changed a field to a select component. According to the docs, I should be able to use the output of another action (returning a list of objects) directly, but it’s not working.

It seems the form’s select component aligns with the deprecated select version. Will we see the updated select in the form component soon? Meanwhile, is the workaround to reshape the list of objects to match the old form component’s expectations?

Hi @blazix

At the moment, this is a default behavior. We are not planning to update it anytime soon.
We’ll make sure to add documentation about the mapping workaround for the form component. Meanwhile, you can use the mapping example from this guide as a reference.
If it doesn’t help you, please let us know and we’ll review your case in details.
Cheers!

Thanks @Kate. That does seem like a slightly odd decision, but the mapping workaround works fine for me. In addition, I’ve found that I can use Composite Forms to construct a form manually and use the newer select component, which happens to be the better option for my use-case.

1 Like