diff --git a/src/services/schema-form.js b/src/services/schema-form.js index cfee49494..a3f531e54 100644 --- a/src/services/schema-form.js +++ b/src/services/schema-form.js @@ -168,6 +168,7 @@ angular.module('schemaForm').provider('schemaForm', if (stripNullType(schema.type) === 'object') { var f = stdFormObj(name, schema, options); f.type = 'fieldset'; + f.key = options.path; f.items = []; options.lookup[sfPathProvider.stringify(options.path)] = f; @@ -386,7 +387,7 @@ angular.module('schemaForm').provider('schemaForm', if (obj.type === 'checkbox' && angular.isUndefined(obj.schema['default'])) { obj.schema['default'] = false; } - + // Special case: template type with tempplateUrl that's needs to be loaded before rendering // TODO: this is not a clean solution. Maybe something cleaner can be made when $ref support // is introduced since we need to go async then anyway