Skip to content

[BUG] A few issues with {{FIELD:<field_name>}} #1656

Description

@Elaws

Describe the bug

  1. {{FIELD:<field_name>}} doesn't update newly modified values (either added or removed) until Obsidian is rebooted
  2. It doesn't take Dataview inline fields (field::) into account.
  3. It doesn't allow empty ("") or default values.
  4. It would be great to be able to add "values" to the "Select values" window (see screenshot below), and they would be memorized even if not selected. Values listed but not used in any notes could be emphasized somehow (dash-underlined, darker tone, etc...).
Image

Maybe this would better fit in "FR", but since I don't know if this is expected behavior, I filled a bug report.

To Reproduce

This screen capture shows how inline fields aren't taken into account (ValueA does not appear as a possible choice in the list) :

no_DV_fields.mp4

This screen capture shows how field values aren't updated as soon as modified (here, ValueD does not appear as a possible choice in the list) :

no_LiveUpdate.mp4

Expected behavior
Field values updated when added or removed. Dataview inline fields taken into account

Environment (please complete the following information):

  • Obsidian version: [e.g. 1.0.0]
  • QuickAdd version: [e.g. 0.5.0]
  • Operating system: [e.g. Windows 11]
  • Debug info: Paste output from Developer Tools (Ctrl+Shift+I or Cmd+Option+I on Mac)
  • Other plugins enabled: [List any other plugins that might be relevant]
  • Theme: [e.g. Default] (if applicable)

Console Logs
If applicable, open developer tools (Ctrl+Shift+I or Cmd+Option+I on Mac) and paste any relevant error messages.

Mobile (if applicable, complete the following information):
Obsidian version: 1.13.4
QuickAdd version: 2.21.0
Operating system: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions