@pdg/react-form 1.1.11 → 1.1.12

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.esm.js CHANGED
@@ -4012,7 +4012,7 @@ PFormTextEditor.apiKey = '';var PFormAutocomplete = ToForwardRefExoticComponent(
4012
4012
  var finalValue = value;
4013
4013
  if (multiple) {
4014
4014
  if (!Array.isArray(finalValue)) {
4015
- if (finalValue != null && notEmpty(finalValue)) {
4015
+ if (finalValue != null) {
4016
4016
  if (typeof finalValue === 'string') {
4017
4017
  finalValue = Array.from(new Set(finalValue.split(formValueSeparator || ',')));
4018
4018
  }
@@ -4091,7 +4091,7 @@ PFormTextEditor.apiKey = '';var PFormAutocomplete = ToForwardRefExoticComponent(
4091
4091
  finalValue = (multiple ? [] : undefined);
4092
4092
  }
4093
4093
  var newComponentValue = (multiple ? [] : null);
4094
- if (notEmpty(finalValue)) {
4094
+ if (finalValue != null) {
4095
4095
  if (items) {
4096
4096
  if (Array.isArray(finalValue)) {
4097
4097
  finalValue.forEach(function (v) {
package/dist/index.js CHANGED
@@ -4012,7 +4012,7 @@ PFormTextEditor.apiKey = '';var PFormAutocomplete = ToForwardRefExoticComponent(
4012
4012
  var finalValue = value;
4013
4013
  if (multiple) {
4014
4014
  if (!Array.isArray(finalValue)) {
4015
- if (finalValue != null && compare.notEmpty(finalValue)) {
4015
+ if (finalValue != null) {
4016
4016
  if (typeof finalValue === 'string') {
4017
4017
  finalValue = Array.from(new Set(finalValue.split(formValueSeparator || ',')));
4018
4018
  }
@@ -4091,7 +4091,7 @@ PFormTextEditor.apiKey = '';var PFormAutocomplete = ToForwardRefExoticComponent(
4091
4091
  finalValue = (multiple ? [] : undefined);
4092
4092
  }
4093
4093
  var newComponentValue = (multiple ? [] : null);
4094
- if (compare.notEmpty(finalValue)) {
4094
+ if (finalValue != null) {
4095
4095
  if (items) {
4096
4096
  if (Array.isArray(finalValue)) {
4097
4097
  finalValue.forEach(function (v) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pdg/react-form",
3
3
  "title": "React Form",
4
- "version": "1.1.11",
4
+ "version": "1.1.12",
5
5
  "description": "React Form",
6
6
  "type": "module",
7
7
  "types": "dist/index.d.ts",