@trackunit/iris-app-runtime-core 0.3.77 → 0.3.78
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/index.cjs.js +6 -0
- package/index.esm.js +6 -0
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -603,6 +603,12 @@ const getCustomFieldValueToSaveFromRawValue = (customFieldDefinition, newValue)
|
|
|
603
603
|
type: irisAppRuntimeCoreApi.CustomFieldType.NUMBER,
|
|
604
604
|
};
|
|
605
605
|
}
|
|
606
|
+
else if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.MONETARY) {
|
|
607
|
+
return {
|
|
608
|
+
numberValue: newValue,
|
|
609
|
+
type: irisAppRuntimeCoreApi.CustomFieldType.MONETARY,
|
|
610
|
+
};
|
|
611
|
+
}
|
|
606
612
|
else if (customFieldDefinition.type === irisAppRuntimeCoreApi.CustomFieldType.PHONE_NUMBER) {
|
|
607
613
|
return {
|
|
608
614
|
stringValue: getStringValue(newValue),
|
package/index.esm.js
CHANGED
|
@@ -600,6 +600,12 @@ const getCustomFieldValueToSaveFromRawValue = (customFieldDefinition, newValue)
|
|
|
600
600
|
type: CustomFieldType.NUMBER,
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
+
else if (customFieldDefinition.type === CustomFieldType.MONETARY) {
|
|
604
|
+
return {
|
|
605
|
+
numberValue: newValue,
|
|
606
|
+
type: CustomFieldType.MONETARY,
|
|
607
|
+
};
|
|
608
|
+
}
|
|
603
609
|
else if (customFieldDefinition.type === CustomFieldType.PHONE_NUMBER) {
|
|
604
610
|
return {
|
|
605
611
|
stringValue: getStringValue(newValue),
|