Merge pull request #482 from ateuber/custom_field_description

Custom field description
This commit is contained in:
Tomas Bures 2019-03-09 09:04:38 +01:00 committed by GitHub
commit fa1bf1c874
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 45 additions and 7 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,