Open
Description
Is your feature request related to a problem? Please describe.
We want to allow users to build custom interactions in the form that are not available out of the box. While we have expressions that allow us some pretty nice simple interactions, we need a more complex, sandboxed environment where we can run javascript.
Describe the solution you'd like
A safe, sandboxed environment where JavaScript is simply executed. This sandbox will have a communication channel with the main form which restricts the interactions to data passing. We would use an iframe to achieve this sandboxing.
Breakdown
- Build the basic front-end
- Simple editor component similar to the expression one
- Non-sandboxed JS execution viewer component
- Properties panel impl
- Add doNotSubmit property ?
- Sandboxed front-end
- iframe encapsulation + messaging system
- Polishing front-end
- Review text used
- New icon
- Update to the schema definition
- Tests
- Update to linting rules
- Docs