When Entering Wikilinks into List Item Properties and No Match Is Found its Name Is Truncated/Shortened to the Cursor

Steps to reproduce

  • Create a property with list items for a file.
  • Enter [[<text> for to be added to the list.
  • Make sure there’s No match found
  • Place the cursor somewhere not at the end of the text and press Enter.

(see https://youtu.be/WEBLNa-zTkg)

Did you follow the troubleshooting guide? Y

Expected result

A file with the whole text entered should be registered.

Actual result

The entered text is truncated to the cursor.

Environment

SYSTEM INFO:
	Obsidian version: v1.9.10
	Installer version: v1.9.10
	Operating system: Windows 11 Pro 10.0.22631
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 0
	Plugins enabled: 0

RECOMMENDATIONS:
	none

Additional information

  • Why this is a bug:
    • It’s very probably not the behavior a user would expect.
    • If normal text (without looking for a file with [[) is added you can put the cursor anywhere and this doesn’t happen => inconsistent behavior.
  • Video: https://youtu.be/WEBLNa-zTkg (same as above)

thanks