Skip to content

Commit 9344e83

Browse files
committed
Updated dist
1 parent 22a0575 commit 9344e83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/schema-form.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ angular.module('schemaForm').provider('schemaForm',
625625
options.lookup[sfPathProvider.stringify(options.path)] = f;
626626

627627
var required = schema.required &&
628-
schema.required.indexOf(options.path(options.path.length - 1)) !== -1;
628+
schema.required.indexOf(options.path[options.path.length - 1]) !== -1;
629629

630630
// The default is to always just create one child. This works since if the
631631
// schemas items declaration is of type: "object" then we get a fieldset.

0 commit comments

Comments
 (0)