You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically the schema gets stored in a state. This state gets updated in case the user edits the currently loaded schema.
There is a race condition that occurs where the state gets updated with the fetched schema, however the schema inside the editor is still empty. The handleChange function gets called and the empty schema overwrites the state. Leaving the SchemaEditor to be empty.
For some reason the handleChange function before the data prop is properly loaded inside the JsonSchemaEditor component.
I hope someone can help with this issue
The text was updated successfully, but these errors were encountered:
Thank you for the great package!!!
I'm using the JsonSchemaEditor like this:
Basically the schema gets stored in a state. This state gets updated in case the user edits the currently loaded schema.
There is a race condition that occurs where the state gets updated with the fetched schema, however the schema inside the editor is still empty. The handleChange function gets called and the empty schema overwrites the state. Leaving the SchemaEditor to be empty.
For some reason the handleChange function before the data prop is properly loaded inside the JsonSchemaEditor component.
I hope someone can help with this issue
The text was updated successfully, but these errors were encountered: