Procedure payload inputs can now be provided with raw json input, toggling between form-based input or json-editor input.
It's not a very good implementation because I'm not very familiar with next.js and react, but I wanted to share my work in case anyone has interest.
Also, next.js dev-app doesn't work anymore because the jsoneditor package can't be imported in SSR (self is undefined in the webpackUniversalModuleDefinition) and I don't know how to fix this in next.js
Procedure payload inputs can now be provided with raw json input, toggling between form-based input or json-editor input.
It's not a very good implementation because I'm not very familiar with next.js and react, but I wanted to share my work in case anyone has interest.
Also, next.js dev-app doesn't work anymore because the
jsoneditor
package can't be imported in SSR (self is undefined
in thewebpackUniversalModuleDefinition
) and I don't know how to fix this in next.js