mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
add the 'currency' custom field type
This commit is contained in:
parent
351d9d0c95
commit
3cf6ed916f
5 changed files with 56 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue