iAPI: Don't error when data-wp-each
gets undefined
#67174
Labels
[Packages] Interactivity
/packages/interactivity
[Type] Bug
An existing feature does not function as intended
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:The text was updated successfully, but these errors were encountered: