🎨 Add database table view checkbox column type https://github.com/siyuan-note/siyuan/issues/9667

This commit is contained in:
Daniel 2023-11-17 09:03:17 +08:00
parent 16727cd8af
commit 0359f96c64
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 90 additions and 2 deletions

View file

@ -779,6 +779,10 @@ func FillAttributeViewTableCellNilValue(tableCell *av.TableCell, rowID, colID st
if nil == tableCell.Value.Updated {
tableCell.Value.Updated = &av.ValueUpdated{}
}
case av.KeyTypeCheckbox:
if nil == tableCell.Value.Checkbox {
tableCell.Value.Checkbox = &av.ValueCheckbox{}
}
}
}