obsidian-meta-bind-plugin icon indicating copy to clipboard operation
obsidian-meta-bind-plugin copied to clipboard

Option to remove "option" from modal elements of suggester

Open holroy opened this issue 7 months ago • 1 comments

Please fill out these Check-boxes

  • [x] I checked for existing similar feature requests
  • [x] I have read the docs and checked that the feature I am requesting is not already implemented
  • [x] My feature request consists of only one feature

Is your Feature Request related to a Problem or Annoyance?

I recently started using the INPUT[suggester], and when I populate the options using either option('a') or option('b', 'path/b') the description field of the modal has the value option which is kind of useless.

So I'd like to have a method to remove this unneeded, or to make it useful somehow. Doing class() only affects the actual input field, and not the modal.

Example showcasing this behavior:

testing: `INPUT[suggester(option('a'), option('path/b', 'b')):hi]`

Which displays as:

Image

Describe the Feature you'd like

Either of the following options would be nice:

  • Some way to change the option() to also set the description field
  • For class() to also be applied to the modal
  • Possibly a flag to just not display the description field of the modal

Alternatives

Tried the class() variant, looked at the DOM finding nothing to anchor to. Tried the various variants of option() I could think of.

Additional Context

No response

holroy avatar Apr 13 '25 16:04 holroy