Skip to content

Commit

Permalink
made select data property a hidden component and changed hidden compo…
Browse files Browse the repository at this point in the history
…nent empty value to null
  • Loading branch information
ZenMasterJacob20011 committed Nov 15, 2024
1 parent 854241f commit f7a730e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/hidden/Hidden.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class HiddenComponent extends Input {
}

get emptyValue() {
return '';
return null;
}

setValue(value, flags = {}) {
Expand Down
1 change: 1 addition & 0 deletions src/components/select/editForm/Select.edit.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ export default [
},
{
key: 'selectData',
type: 'hidden',
conditional: {
json: {
and: [
Expand Down

0 comments on commit f7a730e

Please sign in to comment.