Form - Initial Data - 'string' not 'object | void'

Attempting to build out a form and provide query that will load content from a selection in a table.

When posting the query into the Initial Data field, I get:

I'm unsure how to change this from string to object....

Retool has a formatDataAsObject method, so something like: formatDataAsObject(

More detail here:

@kevinl Welcome to the forum
Try wrapping the in formatDataAsObject( )

Thanks for the replies!

So, the original code in the tutorial I was using ( Create forms using the Form component ( and modifying to my needs showed that Initial Data needed to be:

   { ? : null;

after I played around with it, the following actually worked:

{{ ? : null }}