-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Prerequisites
- I have read the documentation
What theme are you using?
core
What is your question?
So I'm working with a complex json schema that gets generated dynamically. So the structure could be different. Attached is an example (json schema and ui schema is in the same file).
The problem happens when I try to add a row to the table. It basically adds the empty object but then deletes it right away. I have been debugging it for quite some time and it seems to be caused by the validations. When I deactivate the validations, then it works fine. Also when I add default values, it works fine.
I would expect it to at least add the record and then show the errors on the screen but that doesn't seem to work. Is there a way to handle this? I was thinking of deactivating validation till the form is submitted but just wanted to check if there is no easier standard way to do it.
Any help is appreciated!