Open
Description
What should we do?
We should not expose internal state through the changed
event.
Why should we do it?
Users should not have access to internal state (cf. #234). Getting the schema should only be possible through saveSchema
.
formEditor.on('changed', ({ schema }) => {
// schema !== formEditor.saveSchema();
});
Related to #234