mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15650
This commit is contained in:
parent
4f073c85cd
commit
5077ed3b56
1 changed files with 2 additions and 2 deletions
|
@ -242,9 +242,9 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group
|
|||
newValue.Email.Content = content
|
||||
case av.KeyTypePhone:
|
||||
newValue.Phone.Content = content
|
||||
case av.KeyTypeCheckbox:
|
||||
newValue.Checkbox.Checked = "" != content
|
||||
}
|
||||
} else if av.KeyTypeCheckbox == groupView.GroupVal.Type {
|
||||
newValue.Checkbox.Checked = groupView.GroupVal.Checkbox.Checked
|
||||
}
|
||||
|
||||
ret[groupKey.ID] = newValue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue