@particle-academy/fancy-flow 0.65.0 → 0.65.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/dist/index.js CHANGED
@@ -823,10 +823,11 @@ function NodeConfigPanel({
823
823
  const setDescription = (description) => onChange({ ...node, data: { ...node.data, description } });
824
824
  const setStatusMsg = (key, value) => onChange({ ...node, data: { ...node.data, [key]: value } });
825
825
  const setConfigValue = (key, value) => onChange({ ...node, data: { ...node.data, config: { ...config, [key]: value } } });
826
- const issues = validateConfig(kind, config);
827
826
  const configFields = (kind.configSchema ?? []).filter(
828
827
  (field) => fieldFilter ? fieldFilter({ node, kind, field }) : true
829
828
  );
829
+ const visibleFieldKeys = new Set(configFields.map((field) => field.key));
830
+ const issues = validateConfig(kind, config).filter((issue) => visibleFieldKeys.has(issue.key));
830
831
  const adapter = getRichInputAdapter();
831
832
  const documentField = renderDocumentField ?? (adapter?.renderEditor ? ({ value, onChange: set }) => adapter.renderEditor({ value, onChange: set }) : void 0);
832
833
  return /* @__PURE__ */ jsxs("aside", { className: ["ff-panel", className ?? ""].filter(Boolean).join(" "), style, children: [