Skip to content

Simple Button from Documentation does not work #577

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 of 8 tasks
jonrosner opened this issue May 12, 2025 · 1 comment
Open
3 of 8 tasks

Simple Button from Documentation does not work #577

jonrosner opened this issue May 12, 2025 · 1 comment
Labels
bug Undesired behavior caused by this plugin

Comments

@jonrosner
Copy link

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.

@jonrosner jonrosner added the bug Undesired behavior caused by this plugin label May 12, 2025
@ITMighty
Copy link

ITMighty commented May 20, 2025

There are two issues that I've found:

  1. The name of the FAQ page in Obsidian has changed and
  2. The command has dropped the mb in the command call.

The site has the following:
command: obsidian-meta-bind-plugin:open-faq

What works is when you change faq to playground and drop the mb- from the name of the command. When updated to the following, the button successfully opens the FAQ, or Playground as it is called now.

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

I'm not trying to step on any toes with this comment, but if it helps, that's one less issue to task your brain with! Thank you for making Meta Bind available. It's far and away the best input/button plugin I've used!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior caused by this plugin
Projects
None yet
Development

No branches or pull requests

2 participants