We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e702834 commit 18f4226Copy full SHA for 18f4226
src/services/schema-form.js
@@ -186,7 +186,7 @@ angular.module('schemaForm').provider('schemaForm',
186
options.lookup[sfPathProvider.stringify(options.path)] = f;
187
188
var required = schema.required &&
189
- schema.required.indexOf(options.path(options.path.length - 1)) !== -1;
+ schema.required.indexOf(options.path[options.path.length - 1]) !== -1;
190
191
// The default is to always just create one child. This works since if the
192
// schemas items declaration is of type: "object" then we get a fieldset.
0 commit comments