mProjectsCode / obsidian-meta-bind-plugin

A plugin for Obsidian to make your notes interactive with inline input fields, metadata displays, and buttons.
https://www.moritzjung.dev/obsidian-meta-bind-plugin-docs/
GNU General Public License v3.0
534 stars 42 forks source link

Two Text Inputs on one line only renders the second #451

Closed mAAdhaTTah closed 2 weeks ago

mAAdhaTTah commented 2 weeks ago

Please fill out these Check-boxes

Plugin Version

1.2.5

This Issue Occurs on

Debug Info

SYSTEM INFO:
    Obsidian version: v1.7.5
    Installer version: v1.4.13
    Operating system: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:36 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6020 24.0.0
    Login status: not logged in
    Language: en
    Insider build toggle: off
    Live preview: on
    Base theme: adapt to system
    Community theme: Tiniri v1.0.0
    Snippets enabled: 6
    Restricted mode: off
    Plugins installed: 61
    Plugins enabled: 57
        1: Banners v1.3.3
        2: Calendar v1.5.10
        3: Folder Note Core v1.3.5
        4: Dataview v0.5.67
        5: Homepage v4.0.7
        6: Link Favicons v1.8.4
        7: Metadata Menu v0.8.7
        8: Page Properties v1.0.3
        9: Periodic Notes v0.0.17
        10: Poker v1.2.3
        11: Recent Files v1.7.0
        12: Tracker v1.14.0
        13: MetaEdit v1.8.2
        14: Omnisearch v1.25.0
        15: User Plugins v1.3.0
        16: Meta Bind v1.2.5
        17: Excalidraw v2.6.5
        18: List Callouts v1.2.9
        19: Templater v2.9.1
        20: Note Toolbar v1.14.9
        21: Iconize v2.14.4
        22: Advanced URI v1.44.1
        23: Metadata Extractor v1.1.0
        24: Google Calendar v1.10.15
        25: Lazy Plugin Loader v1.0.18
        26: Callout Suggestions v1.0.2
        27: Callout Manager v1.1.0
        28: Media Extended v3.2.6
        29: Folder notes v1.7.32
        30: MOC Link Helper v1.1.0
        31: Export Processor v0.1.1
        32: Code Styler v1.1.7
        33: ExcaliBrain v0.2.15
        34: Hover Editor v0.11.21
        35: JS Engine v0.1.20
        36: QuickAdd v1.11.4
        37: Settings Search v1.3.10
        38: Style Settings v1.0.9
        39: Todoist Sync v1.13.0
        40: Transcription v3.4.0
        41: Advanced Tables v0.22.1
        42: BRAT v1.0.5
        43: Commander v0.5.2
        44: Editor Syntax Highlight v0.1.3
        45: Footnote Shortcut v0.1.3
        46: Harper v0.12.0
        47: Jira Issue v1.57.0
        48: Local REST API v2.5.4
        49: Modal forms v1.52.0
        50: Natural Language Dates v0.6.2
        51: Note Refactor v1.8.2
        52: Paste URL into selection v1.7.0
        53: Plugin Update Tracker v1.6.0
        54: Prettier Format v0.1.1
        55: Readwise Official v2.1.4
        56: Snippet Downloader v2.0.1
        57: VSCode Editor v1.0.4

RECOMMENDATIONS:
    Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
    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

I have an embed that has two inputs on one line, like the following:

`INPUT[text:first_name]` `INPUT[text:last_name]`

I embed it like this:

```meta-bind-embed
[[_meta/embeds/person]]


In a previous version, this would render two input fields on a single line. Now, this only renders the second input field.

### Steps to Reproduce

1. Create a template for an embed with two inputs on a single line
2. Embed the file into another file
3. Switch to preview mode

### Expected Behavior

Render both input fields.
mProjectsCode commented 2 weeks ago

Can you check for any errors in the dev tools console?

mAAdhaTTah commented 2 weeks ago

@mProjectsCode A lot of errors, unfortunately, but none related to meta-bind.

mProjectsCode commented 2 weeks ago

Does the same happen with meta bind being the only enabled plugin? Then there shouldn't be any other errors.

mAAdhaTTah commented 2 weeks ago

Hmm yeah, good point. Testing in the Sandbox and it works fine. Will start disabling plugins to see what's going on I guess.

mAAdhaTTah commented 2 weeks ago

Figured it out, it's a conflict with Code Styler, which is the most recently-installed plugin.