Skip to content

Commit

Permalink
Merge pull request #1614 from IRRDC/master
Browse files Browse the repository at this point in the history
Bugfix for issue 1568
  • Loading branch information
joaojmendes authored Sep 23, 2023
2 parents dcd5656 + 12a9abe commit ca288e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/controls/dynamicForm/DynamicForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ export class DynamicForm extends React.Component<
hiddenName = response.value;
termSetId = field.TermSetId;
anchorId = field.AnchorId;
if (item !== null) {
item[field.InternalName].forEach((element) => {
if (item !== null && item[field.InternalName] !== null && item[field.InternalName].results !== null) {
item[field.InternalName].results.forEach((element) => {
selectedTags.push({
key: element.TermGuid,
name: element.Label,
Expand Down

0 comments on commit ca288e6

Please sign in to comment.