We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b95c6e + de7587e commit d91307aCopy full SHA for d91307a
src/app/submission/sections/form/section-form.component.ts
@@ -298,7 +298,7 @@ export class SubmissionSectionFormComponent extends SectionModelComponent {
298
* @private
299
*/
300
private inCurrentSubmissionScope(field: string): boolean {
301
- if (!this.sectionMetadata.includes(field)) {
+ if (isNotEmpty(this.sectionMetadata) && !this.sectionMetadata.includes(field)) {
302
return false;
303
}
304
const scope = this.formConfig?.rows.find((row: FormRowModel) => {
0 commit comments