URL Parameters and arrays issue

Hey Plasmic Team,

I am struggling a lot working with the URL Parameters, specifically search parameters in an array-type structure. My issue is that the input in the studio is automatically a string, whereas nextjs will use an array for multiple search queries of the same type (for example ?tag=plasmic&tag=website will return [‘plasmic’, ‘website’], but i cannot enter this in the studio cause it will be a string

I am not part of the Plasmic team, but maybe this could help? https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

do you mean you’d like to enter an array for url query value as a “preview” value here?

i think i’d just like to know the best approach, cause the router in nextjs will pass an array of strings, but the preview field (the one you just highlighted) is a string field

i can convert to a string before i pass the values to the plasmicRoot, but i don’t know if that is the best way to do it

that is a fine workaround; we do not support this use case from the UI right now :confused:

I asked this separately, but is there a way to have sanity’s live preview feature integrated in plasmic via nextjs?