@nickaux/form-configurator 1.1.257 → 1.1.258

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.
@@ -67009,7 +67009,10 @@ typeof window != "undefined" && !window.__formConfiguratorSelectOptionsCache &&
67009
67009
  function getOptionsCacheKey(d, c, u) {
67010
67010
  var h;
67011
67011
  if (!d) return null;
67012
- const p = (c == null ? void 0 : c.instanceId) || "global", g = d.id || "", y = d.options_url || "", b = d.select_from_field_path || "", S = d.filters ? JSON.stringify(d.filters) : "";
67012
+ const p = ["from_url", "from_field", "from_field_data", "from_file"];
67013
+ if (!d.select_mode || !p.includes(d.select_mode))
67014
+ return null;
67015
+ const g = (c == null ? void 0 : c.instanceId) || "global", y = d.options_url || "", b = d.select_from_field_path || "", S = d.filters ? JSON.stringify(d.filters) : "";
67013
67016
  let I = "";
67014
67017
  if (b && u)
67015
67018
  try {
@@ -67017,7 +67020,7 @@ function getOptionsCacheKey(d, c, u) {
67017
67020
  I = N ? JSON.stringify(N) : "";
67018
67021
  } catch (k) {
67019
67022
  }
67020
- return `${p}_${g}_${y}_${b}_${S}_${I}`;
67023
+ return `${g}_${d.select_mode}_${y}_${b}_${S}_${I}`;
67021
67024
  }
67022
67025
  class TypeSelect extends TypeDefault {
67023
67026
  initValue() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nickaux/form-configurator",
3
- "version": "1.1.257",
3
+ "version": "1.1.258",
4
4
  "description": "A React form manager",
5
5
  "type": "module",
6
6
  "main": "dist/FormConfigurator.cjs.js",