We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 471b926 commit 1f34d32Copy full SHA for 1f34d32
packages/lib/src/JsonSchemaForm/fields/ObjectField/index.js
@@ -89,7 +89,10 @@ export default {
89
},
90
props: {
91
schema: Object.entries(self.$props.schema).reduce((preVal, [key, value]) => {
92
- if (self.$props.schema.additionalProperties === false || key !== 'properties') preVal[key] = value;
+ if (
93
+ self.$props.schema.additionalProperties === false
94
+ || !['properties', 'id', '$id'].includes(key)
95
+ ) preVal[key] = value;
96
return preVal;
97
}, {}),
98
errorSchema: this.errorSchema,
0 commit comments