File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,7 @@ angular.module('schemaForm').provider('schemaForm',
168
168
if ( stripNullType ( schema . type ) === 'object' ) {
169
169
var f = stdFormObj ( name , schema , options ) ;
170
170
f . type = 'fieldset' ;
171
+ f . key = options . path ;
171
172
f . items = [ ] ;
172
173
options . lookup [ sfPathProvider . stringify ( options . path ) ] = f ;
173
174
@@ -386,7 +387,7 @@ angular.module('schemaForm').provider('schemaForm',
386
387
if ( obj . type === 'checkbox' && angular . isUndefined ( obj . schema [ 'default' ] ) ) {
387
388
obj . schema [ 'default' ] = false ;
388
389
}
389
-
390
+
390
391
// Special case: template type with tempplateUrl that's needs to be loaded before rendering
391
392
// TODO: this is not a clean solution. Maybe something cleaner can be made when $ref support
392
393
// is introduced since we need to go async then anyway
You can’t perform that action at this time.
0 commit comments