Hello,
I’ve a problem on a mutation i send this object
{
boardId: parseInt(event.ressource.boardId),
itemId: parseInt(event.ressource.id),
itemName: title,
columnValues: JSON.stringify({
"statut_1": {"label": status},
"name": title,
"date4" : {"date": moment(start).utc().format('YYYY-MM-DD'), "time": moment(start).utc().format('HH:mm:ss')},
"date2": {"date": moment(end).utc().format('YYYY-MM-DD'), "time": moment(end).utc().format('HH:mm:ss')},
"chiffres97": timeBreak,
"cocher": isLock ? {"checked": "true"} : null
})
}
with for sample this values
{
"id": 0,
"title": "Bureau",
"status": "Bureau",
"boardName": "David NAUD",
"timeBreak": "1",
"isLock": false
}
For explain this object are generated with a form it’s the same form for create and update.
Then I dispatch create_item or change_multiple_column_values mutation query with some logic.
The problem is when i send this with the mutation create_item the number column with chiffres97 ID the value are always empty but when i send the same thing in an update the value are set correctly.
I’ve no error on creation the item was create correctly.
I’ve remove the default value was set on column.