add custom field "stringtemplate"

This commit is contained in:
tod31 2021-04-07 16:11:19 +02:00
parent 769bb7a55d
commit b8dc7ff18e
8 changed files with 104 additions and 2 deletions

View file

@ -29,6 +29,7 @@ CustomFields.attachSchema(
'dropdown',
'checkbox',
'currency',
'stringtemplate',
],
},
settings: {
@ -64,6 +65,10 @@ CustomFields.attachSchema(
},
}),
},
'settings.stringtemplateFormat': {
type: String,
optional: true,
},
showOnCard: {
/**
* should we show on the cards this custom field