saasufy-components 8.2.4 → 8.2.5
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/package.json +1 -1
- package/utils.js +1 -1
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -475,7 +475,7 @@ export function convertStringToFieldTypeValues(string, allowEmpty, unescapeEqual
|
|
|
475
475
|
let nameType = (subParts[0] || '').split(':');
|
|
476
476
|
let field = nameType[0];
|
|
477
477
|
let type = nameType[1] || 'text';
|
|
478
|
-
let value = subParts.slice(1).join('=').replace(quotedContentRegExp, '$1');
|
|
478
|
+
let value = subParts.length > 1 ? subParts.slice(1).join('=').replace(quotedContentRegExp, '$1') : undefined;
|
|
479
479
|
return {
|
|
480
480
|
field,
|
|
481
481
|
type,
|