I have a React App where I have made a React Component to call the FreshworksWidget.
This works great for sending props for API commands like:
`FreshworksWidget('close')`
`FreshworksWidget('open','ticketForm')`
`FreshworksWidget('open','article', { id: ${article} })`
But when I try to call:
`FreshworksWidget('prefill','ticketForm', { type: ${request} })`
I am receiving the error `VM4910:1 Uncaught SyntaxError: Unexpected identifier 'XXX'`
where ‘XXX’ is the string from ${request}
Is there something different in how ‘prefill’ works? All attributes of ‘prefill’ generate this error. e.g. subject, derscription, etc.