Skip to content

Simple Button from Documentation does not work #577

@jonrosner

Description

@jonrosner

Please fill out these Check-boxes

  • I checked for existing similar issues
  • I checked that the plugin is up to date
  • The issue persists with all other plugins and themes disabled

Plugin Version

1.4.1

This Issue Occurs on

  • Windows
  • Linux
  • macOS
  • Android
  • iOS

Debug Info

SYSTEM INFO:
	Obsidian version: v1.8.10
	Installer version: v1.8.10
	Operating system: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020 24.1.0
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 13
	Plugins enabled: 12
		1: Advanced Tables v0.22.1
		2: Calendar v1.5.10
		3: Dataview v0.5.68
		4: Excalidraw v2.11.0
		5: Kanban v2.0.51
		6: Tasks v7.19.1
		7: Advanced URI v1.44.3
		8: Templater v2.11.1
		9: Recent Files v1.7.4
		10: Todoist Sync v2.0.1
		11: Periodic Notes v0.0.17
		12: Meta Bind v1.4.1

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Describe the Issue

When I try this simple button example from the documentation:

Meta Bind has an in plugin help page. ==BUTTON[help-button]== Isn't that cool?


style: primary

label: Meta Bind Help

id: help-button

action:

type: command

command: obsidian-meta-bind-plugin:open-faq

I get this error:

Dataview (inline field '=BUTTON[help-button]=='): Error: 
-- PARSING FAILED --------------------------------------------------

> 1 | =BUTTON[help-button]==
    | ^

Expected one of the following: 

'(', 'null', boolean, date, duration, file link, list ('[1, 2, 3]'), negated field, number, object ('{ a: 1, b: 2 }'), string, variable

Steps to Reproduce

  1. install the plugins seen above
  2. Create the button

Expected Behavior

Not throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behavior caused by this plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions