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
390 stars 33 forks source link

Is it possible for the `filename` of `TemplaterCreateNoteButtonAction` to be based on an `INPUT[text]` #328

Closed RayBB closed 1 month ago

RayBB commented 1 month ago

Is your Feature Request Related to a Problem?

No response

Describe the Feature you'd Like

The title says it all. I want to have a text field where I can enter something like XYZ and then press a button and it creates a new note with the text from that field. Is this possible?

Based on the docs I don't think so but maybe I'm just not putting 2+2 together here.

Additional Context

Thanks for all your hard work, this is an awesome plugin :)

mProjectsCode commented 1 month ago

you need to create the button dynamically, similar to the the advanced examples in the docs

RayBB commented 1 month ago

For anyone that want to know how to do this in the future here is the answer: inputTextButton.md

image

I'd like to add this to the docs in the future.