Properties editor discards typed text in favour of suggestion (shift-enter)

Steps to reproduce

  1. Create two notes:

A.md:

---
aliases:
  - Lorem Ipsum
---

B.md:

---
Subject:
  - "[[A|Lorem Ipsum]]"
---
  1. I B.md click on property value, edit and change alias to something that contains substring of orginal value (e.g. “A|Ips”)
  2. Navigate outside link and press enter

Did you follow the [troubleshooting guide]

Yes

Expected result

  • Suggestions is discarded by navigating outside link [[]], like in markdown editor you can discard suggestion only by pressing → key.

Actual result

  • First suggestion overwrites changed text.

Environment

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.6.7
	Operating system: #1 SMP PREEMPT_DYNAMIC Tue Oct  8 03:11:08 UTC 2024 6.6.54-2-MANJARO
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

  1. Navigate outside link and press enter

this is not the right way of doing it. You should use shift-enter to ignore the suggestion.
Anyway, it does appear that shift enter is broken in properties

shift-enter will work in v1.8

1 Like

I wasn’t sure that I should create separate issue for this, but I decided to add another scenario to this one.

Link Suggestions in Property Editor Broken when removing text:

Steps to reproduce

Create note:

---
Subject:
  - "[[Dir/A]]"
---
  • Remove Dir/ so there is left - "[[A]]"

Did you follow the [troubleshooting guide]

yes

Expected result

  • Suggestions will take into account all text left between [[ and ]]

Actual result

  • Suggestions will ignore all text after cursor.
    • That means that if you change [[Test]] to [[Ts]] it will suggest all files begging with T instead of Ts
  • If you remove something from begging of link, current file will be suggested.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.