File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 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',
168168 if ( stripNullType ( schema . type ) === 'object' ) {
169169 var f = stdFormObj ( name , schema , options ) ;
170170 f . type = 'fieldset' ;
171+ f . key = options . path ;
171172 f . items = [ ] ;
172173 options . lookup [ sfPathProvider . stringify ( options . path ) ] = f ;
173174
@@ -386,7 +387,7 @@ angular.module('schemaForm').provider('schemaForm',
386387 if ( obj . type === 'checkbox' && angular . isUndefined ( obj . schema [ 'default' ] ) ) {
387388 obj . schema [ 'default' ] = false ;
388389 }
389-
390+
390391 // Special case: template type with tempplateUrl that's needs to be loaded before rendering
391392 // TODO: this is not a clean solution. Maybe something cleaner can be made when $ref support
392393 // is introduced since we need to go async then anyway
You can’t perform that action at this time.
0 commit comments