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.
2 parents 0a87ef3 + 5ef3a6c commit ce52d9eCopy full SHA for ce52d9e
src/server/data_form.ts
@@ -579,6 +579,12 @@ export class FormsAngular {
579
if (paths[element].options.form) {
580
outPath[element].options = {form: extend(true, {}, paths[element].options.form)};
581
}
582
+ // this provides support for entire nested schemas that wish to remain hidden
583
+ if (paths[element].options.secure) {
584
+ hiddenFields.push(element);
585
+ }
586
+ // to support hiding individual properties of nested schema would require us
587
+ // to do something with subSchemaInfo.hide here
588
} else {
589
// check for arrays
590
let realType = paths[element].caster ? paths[element].caster : paths[element];
0 commit comments