Checkbox without label disappears after Return key entered

Steps to reproduce

Create new note

Either type a checkbox manually, or enter it with Control-L

Hit Return key

Checkbox disappears

Did you follow the troubleshooting guide? [Y/N]

Y

Yes

Expected result

Checkbox with no label

Actual result

Checkbox disappears

Environment

SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.4.16
Operating system: #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 5.4.0-169-generic
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

It’s not a bug, it’s intentional. Happens in list items as well.

Good to know, but it makes it hard to set up templates.

I attempted to work around this behavior by adding a label “a” to the checkbox, then hitting return, then deleting the label “a” which allowed me to copy and paste the checkbox to multiple lines as I intended to do to create a template.

This caused another bug where checking any one of these checkboxes, highlighted a different checkbox then the one that was clicked.

Very confusing and unhelpful behavior.

I don’t understand. post a screen recording of this happening in the sandbox vault.

Hereyago…

ok, please open a new bug report for that! Thank you!

1 Like