Is it possible to map multiple values of a column field to a single column?
So in the following example, I want to map 'planned' and 'test failed' to the same column.
If a card is droppend in thatcolumn, the user would have to decide which value it should get: 'planned' or 'test failed'.
The code is not working, the first column is not shown, but I think it illustrates the idea.
const taskBoard = new TaskBoard({
appendTo: document.body,
columnField: 'status',
columns: [
['planned', 'test failed'],
'in progress',
'ready for approval',
'completed'
],
project: {
tasksData: [
{
id: 1,
name: 'Bug with rendering',
status: 'planned'
},
{
id: 2,
name: 'Failed persists',
status: 'ready for approval'
},
{
id: 3,
name: 'XSS Injection',
status: 'in progress'
},
{
id: 4,
name: 'Heisenbug',
status: 'test failed'
}
]
}
});