Skip to content

Commit f914adc

Browse files
committed
get val obj
1 parent 1643ffc commit f914adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PropertyGrid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function typeInfoFromJsonSchema(jsonSchemaObj: any, obj: any, type: strin
8787
if (prpObj.$ref) {
8888
if ((<string>prpObj.$ref).startsWith('#/')) {
8989
const linkName = (<string>prpObj.$ref).substring(2);
90-
prpObj = deepValue(def, linkName, false, '/');
90+
prpObj = deepValue(jsonSchemaObj, linkName, false, '/');
9191
}
9292
}
9393
p.type = prpObj.type ?? 'any';

0 commit comments

Comments
 (0)