Added description to custom fields

This commit is contained in:
Andreas Teuber 2018-10-29 20:42:49 +01:00
parent f661ba8a6b
commit cdaf4b0b16
7 changed files with 43 additions and 6 deletions

View file

@ -419,6 +419,7 @@ router.post('/field/:listId', (req, res) => {
let field = {
name: (input.NAME || '').toString().trim(),
description: (input.DESCRIPTION || '').toString().trim(),
defaultValue: (input.DEFAULT || '').toString().trim() || null,
type: (input.TYPE || '').toString().toLowerCase().trim(),
group: Number(input.GROUP) || null,