-
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'