In disconnected mode I have a "value" that I don't have in connected mode. So if I need to do this: {{ fields.items.value.length }} it's working only in disconnected mode and not after a deploy...

Disconnected (fields.items.value.length): enter image description here

Connected (fields.items.length): enter image description here

What can I do ? Thanks!


1 Answer 1


This is a bug in JSS tech preview 3. (one that I actually fixed yesterday!) It will be fixed in the next release.

In the meantime as a workaround, something like const items = Array.isArray(fields.items) ? fields.items : fields.items.value; or const items = fields.items.value || fields.items; should do the trick.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.