Skip to content

Title property not applying to input element consistently #552

@prjct-media

Description

@prjct-media

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

No output.

Describe the Issue

The title property is not applied for a few situations:

  1. basic inline: title doesnt apply (but an attr like placeholder does):
    INPUT[text(title('no-meta-bind example')):without_mb_txt]

  2. meta-bind-js-view: title doesnt apply either, doesnt work for at least slider and text:


---
const str = `A.Slider:\`
INPUT[slider(title(title313a)):ex_3_1_3_a_titleissue]
\``;
return engine.markdown.create(str)

---
const str = `B.Text:\`
INPUT[text(title(title313b)):ex_3_1_3_b_titleissue]
\``;
return engine.markdown.create(str)
Image

Steps to Reproduce

Paste the code into your obsidian IDE.
`

3. Nuanced Issues

3.1. Title Property Issues

==3.1.1. Without Meta Bind, no title==

INPUT[text(title('no-meta-bind example')):without_mb_txt]

==3.1.2. meta-bind: has works==
INPUT[text(title('title312')):with_mb_txt]
==3.1.3. meta-bind-js-view: no title==

---
const str = `A.Slider:\`
INPUT[slider(title(title313a)):ex_3_1_3_a_titleissue]
\``;
return engine.markdown.create(str)

---
const str = `B.Text:\`
INPUT[text(title(title313b)):ex_3_1_3_b_titleissue]
\``;
return engine.markdown.create(str)

`

Expected Behavior

Title should be able to be applied across syntax formats.

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