@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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
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
|
|
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 (
|
|
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
|
|
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 (
|
|
4094
|
+
if (finalValue != null) {
|
|
4095
4095
|
if (items) {
|
|
4096
4096
|
if (Array.isArray(finalValue)) {
|
|
4097
4097
|
finalValue.forEach(function (v) {
|