Unable to submit form in retool-embed because "allow-forms" not set in sandbox

  • Goal: Submit form displayed within modal triggered inside of list-view.

  • Steps: Have an actionable list-view within a list-view that triggers a modal containing a json-schema-form and submit it.

  • Details: The form submits fine within the Retool GUI, but when submitting from our app using the Retool Embed component, we get the following error:

Blocked form submission to '' because the form's frame is sandboxed and the 'allow-forms' permission is not set.

  • Screenshots: Here's a censored screenshot of the list-view. Clicking on an item in the right-column list will open the modal containing the json-schema-form. The error shows up in the console following a click of the Submit button. No API call is triggered.

  • App json export: There is too much proprietary info to attach an exported JSON file.

NOTE: Email message was also sent to retool team, but figured I may get a faster reply in the forum.

EDIT: Teammate found a workaround, but we're mutating a "private" property: retoolInstance.value.iframe.sandbox = 'allow-scripts allow-same-origin allow-popups allow-forms'

Hi @sebellows,

Thanks for reaching out! I'm having trouble tracking down an email about this, so apologies if you've already discussed this with our team! Glad to see you have a workaround

I am looking into this error, but I haven't been able to reproduce this quite yet :thinking: Any chance you can share the code used to embed the Retool app? Is it a 'Retool Embed' link or a public app link?