summaryrefslogtreecommitdiffstats
path: root/models/customFields.js
diff options
context:
space:
mode:
Diffstat (limited to 'models/customFields.js')
-rw-r--r--models/customFields.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/models/customFields.js b/models/customFields.js
index cc798b16..435ebabb 100644
--- a/models/customFields.js
+++ b/models/customFields.js
@@ -22,7 +22,7 @@ CustomFields.attachSchema(
* type of the custom field
*/
type: String,
- allowedValues: ['text', 'number', 'date', 'dropdown'],
+ allowedValues: ['text', 'number', 'date', 'dropdown', 'currency'],
},
settings: {
/**
@@ -30,6 +30,10 @@ CustomFields.attachSchema(
*/
type: Object,
},
+ 'settings.currencySymbol': {
+ type: String,
+ optional: true,
+ },
'settings.dropdownItems': {
/**
* list of drop down items objects