1 parent b4bacc9 commit fc4294eCopy full SHA for fc4294e
1 file changed
src/shared/components/ncTable/NcTable.vue
@@ -334,12 +334,9 @@ export default {
334
cell = row.data.find(item => item && item.columnId === column.id)
335
}
336
337
- // if we don't have a value for this cell
338
if (cell === undefined) {
339
- if (searchString) {
340
- searchStatus = false
341
- }
342
- cell = { columnId: column.id, value: null }
+ const defaultValue = typeof column.default === 'function' ? column.default() : null
+ cell = { columnId: column.id, value: column.parseValue(defaultValue) }
343
344
// cleanup possible old markers
345
delete cell.searchStringFound
0 commit comments