@json-layout/core 2.1.0 → 2.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-layout/core",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Compilation and state management utilities for JSON Layout.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -881,7 +881,7 @@ export function createStateNode (
881
881
  }
882
882
 
883
883
  const autofocus = isFocusableLayout(layout, compiledLayout.components) && !options.readOnly && !options.summary && context.autofocusTarget === fullKey
884
- const shouldLoadData = layout.comp === 'list' && itemsCacheKey && reusedNode?.itemsCacheKey !== itemsCacheKey
884
+ const shouldLoadData = layout.comp === 'list' && !layout.indexed && itemsCacheKey && reusedNode?.itemsCacheKey !== itemsCacheKey
885
885
  if (shouldLoadData) {
886
886
  logGetItems(fullKey, 'list component with getItems expression registered for fetch', itemsCacheKey)
887
887
  } else if (layout.comp === 'list' && itemsCacheKey) {