Open luisherranz opened 1 day ago
If data-wp-each gets a undefined it just throws.
data-wp-each
undefined
Instead of that, it should subscribe to the property and treat it as an empty array until it not longer undefined.
Just use data-wp-each with a non-existing value:
<template data-wp-each="context.nonExistingValue">
Description
If
data-wp-each
gets aundefined
it just throws.Instead of that, it should subscribe to the property and treat it as an empty array until it not longer
undefined
.Step-by-step reproduction instructions
Just use
data-wp-each
with a non-existing value: