From f7a730e954a0a87f054ec54ec48629a6ab8df78b Mon Sep 17 00:00:00 2001 From: ZenMasterJacob20011 Date: Fri, 15 Nov 2024 15:12:30 -0600 Subject: [PATCH] made select data property a hidden component and changed hidden component empty value to null --- src/components/hidden/Hidden.js | 2 +- src/components/select/editForm/Select.edit.data.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/hidden/Hidden.js b/src/components/hidden/Hidden.js index 23f954f4e5..977152ac2a 100644 --- a/src/components/hidden/Hidden.js +++ b/src/components/hidden/Hidden.js @@ -51,7 +51,7 @@ export default class HiddenComponent extends Input { } get emptyValue() { - return ''; + return null; } setValue(value, flags = {}) { diff --git a/src/components/select/editForm/Select.edit.data.js b/src/components/select/editForm/Select.edit.data.js index 48e32661f6..f1c41fd010 100644 --- a/src/components/select/editForm/Select.edit.data.js +++ b/src/components/select/editForm/Select.edit.data.js @@ -686,6 +686,7 @@ export default [ }, { key: 'selectData', + type: 'hidden', conditional: { json: { and: [