@react-awesome-query-builder/core
Advanced tools
Comparing version 6.6.8 to 6.6.9
@@ -239,4 +239,6 @@ "use strict"; | ||
if (!typeConfig) { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
if (fieldConfig.type !== "!struct") { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
} | ||
return; | ||
@@ -243,0 +245,0 @@ } |
@@ -232,4 +232,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray"; | ||
if (!typeConfig) { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
if (fieldConfig.type !== "!struct") { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
} | ||
return; | ||
@@ -236,0 +238,0 @@ } |
@@ -226,4 +226,6 @@ import uuid from "./uuid"; | ||
if (!typeConfig) { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
if (fieldConfig.type !== "!struct") { | ||
// console.warn(`No type config for ${type}`); | ||
fieldConfig.disabled = true; | ||
} | ||
return; | ||
@@ -230,0 +232,0 @@ } |
{ | ||
"name": "@react-awesome-query-builder/core", | ||
"version": "6.6.8", | ||
"version": "6.6.9", | ||
"description": "User-friendly query builder for React. Core", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
2054110
49385