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 9fdf2af commit 44ce14eCopy full SHA for 44ce14e
src/directives/schema-form.js
@@ -77,7 +77,7 @@ function($compile, schemaForm, schemaFormDecorators){
77
var form = scope.initialForm || ['*'];
78
79
//The check for schema.type is to ensure that schema is not {}
80
- if (form && schema && schema.type && (lastDigest.form !== form || lastDigest.schema !== schema)) {
+ if (form && schema && schema.type && (lastDigest.form !== form || lastDigest.schema !== schema) && Object.keys(schema.properties).length > 0) {
81
lastDigest.schema = schema;
82
lastDigest.form = form;
83
0 commit comments