@vectoriox/iox-builder 5.3.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4633,7 +4633,8 @@ function canvasEmptyImageLabel(labels) {
4633
4633
  * source, so it is set once at render and again whenever the node's element style changes.
4634
4634
  */
4635
4635
  function syncEmptyImagePlaceholder(ref, node, emptyLabel) {
4636
- if (!ref || !declaredInputNames(ref.componentType).has(EMPTY_SRC_INPUT))
4636
+ // Panels hold the selected node's ref untyped; anything without a component type has no inputs.
4637
+ if (!ref?.componentType || !declaredInputNames(ref.componentType).has(EMPTY_SRC_INPUT))
4637
4638
  return;
4638
4639
  ref.setInput(EMPTY_SRC_INPUT, emptyImagePlaceholder(node, emptyLabel));
4639
4640
  }