You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
heri16
changed the title
Edit Response casues empty array (that leads to cf-conditional to fail)
Edit Response results in empty array (that leads to cf-conditional to fail)
Dec 3, 2020
On the first flow, the cf-conditonal works normally because
tagValue
is['']
(array with emtpy string).However, if the user edit a response, the cf-condition fails to work and always return false because
tagValue
is now[]
(emtpy array).We are testing for emtpy string with a RegExp cf-conditional for a tag that might be skipped/hidden due to a previous tag.
conversational-form/src/scripts/cf/logic/FlowManager.ts
Lines 281 to 304 in 23016ad
conversational-form/src/scripts/cf/form-tags/Tag.ts
Lines 248 to 261 in 23016ad
The text was updated successfully, but these errors were encountered: