We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dcd5656 + 12a9abe commit ca288e6Copy full SHA for ca288e6
src/controls/dynamicForm/DynamicForm.tsx
@@ -580,8 +580,8 @@ export class DynamicForm extends React.Component<
580
hiddenName = response.value;
581
termSetId = field.TermSetId;
582
anchorId = field.AnchorId;
583
- if (item !== null) {
584
- item[field.InternalName].forEach((element) => {
+ if (item !== null && item[field.InternalName] !== null && item[field.InternalName].results !== null) {
+ item[field.InternalName].results.forEach((element) => {
585
selectedTags.push({
586
key: element.TermGuid,
587
name: element.Label,
0 commit comments