We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64883f7 commit 69e691eCopy full SHA for 69e691e
1 file changed
src/controls/dynamicForm/DynamicForm.tsx
@@ -597,17 +597,8 @@ export class DynamicForm extends React.Component<
597
hiddenName = response.value;
598
termSetId = field.TermSetId;
599
anchorId = field.AnchorId;
600
- if (item && item[field.InternalName] && item[field.InternalName].results) {
601
- item[field.InternalName].results.forEach((element) => {
602
- selectedTags.push({
603
- key: element.TermGuid,
604
- name: element.Label,
605
- });
606
607
-
608
- defaultValue = selectedTags;
609
- } else if (defaultValue && defaultValue.results) {
610
- defaultValue.results.forEach((element) => {
+ if (item && item[field.InternalName]) {
+ item[field.InternalName].forEach((element) => {
611
selectedTags.push({
612
key: element.TermGuid,
613
name: element.Label,
0 commit comments