-
Notifications
You must be signed in to change notification settings - Fork 419
Closed
Description
Describe the bug
It seems like the schema passed to the ajv instance is not cleared when a new update/schema is passed to the jsonForms with updated values.
This seems to come from
thisAjv.compile(action.schema); reusing existing instance and adding to it.
Expected behavior
Can pass in the same schema with updated values.
It should likely call removeSchema on update?
Steps to reproduce the issue
Schema root has $id.
{
"$id": "something",
"type": "object",
"properties": {}
}
Screenshots
No response
In which browser are you experiencing the issue?
Version 107.0.5304.89 (Official Build) (64-bit)
Which Version of JSON Forms are you using?
3.0.0
Framework
Angular
RendererSet
Other (please specify in the Additional context field)
Additional context
No response
cloedu87
