Skip to content

defaultValue does not populate to note properties. #555

@saintpatr

Description

@saintpatr

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.9
	Installer version: v1.8.4
	Operating system: Windows 11 Education 10.0.26100
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 17
	Plugins enabled: 1
		1: 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

This may be a minunderstanding of what this plugin can do;

Expected behavior: I define a text box (or any other button) with a default value using inline syntax and a bind target. I then expect a corresponding property to be created with that default value when the code renders.

Current Behaviour: When I define a text box with a default value and a bind target, no poperty is created. If I create an empty property with the name of the bind target, then the box will show as empty (and will not show the default value).

The Property and Text box will only sync when manually imputing text (not upon definition).

Steps to Reproduce

  1. Create a new note.
  2. Enter this text;

INPUT[text
(defaultValue(example))
:bind_target_test
]

Expected Behavior

I expect the plugin to create a property and populate it with the default value, taking information form my Bind Target and Default Value entries, as per the following example

INPUT[text(defaultValue(someValue)):some_Key]

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugA user though something was a bug, but it isn't

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions