We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
Step 1. Original schema:
{ "type": "object", "properties": { "data": { "type": "object", "title": "Example", "oneOf": [ { "title": "Table", "properties": { "type": { "type": "string", "default": "table", "widget": "hidden" }, "columns": { "title": "Columns", "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "title": "Header" }, "type": { "type": "string", "title": "Type", "choices": [ "string", "number", "integer", "boolean" ], "default": "string", "required": true }, "default": { "type": "array", "title": "Prepopulate rows (EN)", "items": { "type": "string" } } } } } } } ] } } }
Step 2: Add some data and save the object.
Step 3: Update the schema to this:
{ "type": "object", "properties": { "data": { "type": "object", "title": "Example", "oneOf": [ { "title": "Table", "properties": { "type": { "type": "string", "default": "table", "widget": "hidden" }, "columns": { "title": "Columns", "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string", "title": "Header" }, "type": { "type": "string", "title": "Type", "choices": [ "string", "number", "integer", "boolean" ], "default": "string", "required": true }, "default": { "type": "array", "title": "Prepopulate rows (EN)", "items": { "type": "string" } }, "default_de": { "type": "array", "title": "Prepopulate rows (DE)", "items": { "type": "string" } } } } } } } ] } } }
Step 4: Refresh page
The admin widget doesn't render with the following message:
I was using 2.17.0 earlier but upgraded to 2.21.0 but the problem still persists.
Originally posted by @sgocg in #101 (comment)
The text was updated successfully, but these errors were encountered:
35ce69d
@sgocg This has been fixed in v2.21.1. Please upgrade and test it out.
Thank you for reporting the issue.
UPDATE: Just released a new version v.2.21.2 (previous release had a small mistake left in the logic).
Sorry, something went wrong.
Amazing, thanks for the fix! I tested it locally and it works quite well.
No branches or pull requests
Steps to reproduce:
Step 1. Original schema:
Step 2: Add some data and save the object.
Step 3: Update the schema to this:
Step 4: Refresh page
The admin widget doesn't render with the following message:
I was using 2.17.0 earlier but upgraded to 2.21.0 but the problem still persists.
Originally posted by @sgocg in #101 (comment)
The text was updated successfully, but these errors were encountered: