Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite add template #1322

Closed
ParadiseFallen opened this issue Feb 11, 2024 · 3 comments
Closed

Composite add template #1322

ParadiseFallen opened this issue Feb 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ParadiseFallen
Copy link

Is your feature request related to a problem? Please describe.
I want to see multiple prompts in single modal.
So i can easilly type what i need and navigate it with tab / shift + tab to fill areas,

Describe the solution you'd like
make some api that will allow to access context of template and api that will allow group prompts

tp.???.requestData((grpup)=>{
  group.textField('key','title','defaultValue', /*etc*/)
  // ... etc
});
tp.context.key // to retrive value
@ParadiseFallen ParadiseFallen added the enhancement New feature or request label Feb 11, 2024
@ParadiseFallen
Copy link
Author

it also can be kinda

group['key'].textField(...)

@Zachatoo
Copy link
Collaborator

The Form Modal plugin already solves this issue and works great with Templater. No need for Templater to re-invent the wheel.

@ParadiseFallen
Copy link
Author

Solved with FormModal plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants