Skip to content

Commit 67aa7d6

Browse files
authored
Merge pull request #45 from oneblink/ON-30722
ON-30722 # Fixed conditional logic error containing form element name…
2 parents 5af1f02 + 6a4a18c commit 67aa7d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/conditionalLogicService/conditionallyShowElement.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ export default function conditionallyShowElement(
9595
elementsEvaluated.push({
9696
id: elementToEvaluate.id,
9797
label:
98-
'name' in elementToEvaluate
99-
? elementToEvaluate.name
100-
: elementToEvaluate.label,
98+
'label' in elementToEvaluate
99+
? elementToEvaluate.label
100+
: elementToEvaluate.name,
101101
})
102102
}
103103

0 commit comments

Comments
 (0)