-
-
Notifications
You must be signed in to change notification settings - Fork 71
Description
Please fill out these Check-boxes
- I checked that the plugin is up to date
- The issue persist with all other plugins and themes disabled
This Issue Occurs on
- Windows
- Linux
- macOS
- Android
- iOS
Plugin Version
1.1.2
Describe the Issue
templaterCreateNote dont accept templater excecution time resolution (<%+)
Steps to Reproduce
Just try a <%+ command inside filename
label: New Meeting Note
hidden: false
class: ""
tooltip: ""
id: ""
style: primary
actions:
- type:
- type: templaterCreateNote
templateFile: "Extras/Templates/Meeting.md"
folderPath: "Meetings"
fileName: "<%+ await tp.file.title %>/<%+ await tp.date.now('YYYY-MM-DD') %>"
openNote: true
Expected Behavior
it creates the given file. however it says
[META_BIND_ERROR]
plugin:obsidian-meta-bind-plugin:57 Error: [MB_BUTTON] "The validation for the button config failed." caused by "Your button syntax seems to be invalid. Check that your button config follows what is described in the docs."
at Ih.validateConfig (plugin:obsidian-meta-bind-plugin:111:64)
at Ih.fromString (plugin:obsidian-meta-bind-plugin:110:62408)
at Vh.createButtonMountable (plugin:obsidian-meta-bind-plugin:111:16115)
at eval (plugin:obsidian-meta-bind-plugin:133:20766)
at t.initDOM (app.js:1:1576051)
at t.toDOM (app.js:1:1159760)
at t.sync (app.js:1:331365)
at e.sync (app.js:1:312962)
at app.js:1:354292
at e.ignore (app.js:1:434910)
at t.updateInner (app.js:1:354074)
at t.update (app.js:1:353829)
at e.update (app.js:1:443658)
at e.dispatchTransactions (app.js:1:440219)
at e.dispatch (app.js:1:442207)
at r (app.js:1:1595415)
at run (app.js:1:1595638)
at d (app.js:1:459459)
at Jo (app.js:1:459582)
at Object.keydown (app.js:1:457184)
at app.js:1:375555
at e.runHandlers (app.js:1:373611)
at e.handleEvent (app.js:1:373373)