EPAM AI DIAL UI Kit version
0.12.0
How to reproduce
Render DialSchemaRenderer with a schema where a property is type: object with no fixed properties, and additionalProperties is a complex schema (an object, a oneOf, or a $ref) rather than a simple type like string/number. For example:
{
properties: {
indexes: {
type: 'object',
additionalProperties: {
discriminator: { propertyName: 'type', mapping: { chunk: '#/$defs/ChunkIndexConfig' } },
oneOf: [{ $ref: '#/$defs/ChunkIndexConfig' }],
},
},
},
}
Add a map entry with a value like { type: 'chunk', display_name: 'My Index' }.
Actual result
Each entry renders as Key: <name> / Value: [object Object] instead of an expandable form for the referenced schema's fields.
Expected result
The value should render as an expandable form recursing into the referenced schema's own fields — the same way SchemaArrayEditor already handles arrays of discriminated objects — instead of being stringified.
Confidential information
EPAM AI DIAL UI Kit version
0.12.0
How to reproduce
Render
DialSchemaRendererwith a schema where a property istype: objectwith no fixedproperties, andadditionalPropertiesis a complex schema (an object, aoneOf, or a$ref) rather than a simple type likestring/number. For example:Add a map entry with a value like
{ type: 'chunk', display_name: 'My Index' }.Actual result
Each entry renders as
Key: <name>/Value: [object Object]instead of an expandable form for the referenced schema's fields.Expected result
The value should render as an expandable form recursing into the referenced schema's own fields — the same way
SchemaArrayEditoralready handles arrays of discriminated objects — instead of being stringified.Confidential information