Skip to content

Suggest files in a folder or create a new file to link #656

Answered by welpdx
fallacius asked this question in Help
Discussion options

You must be logged in to vote

Ok, it didn't take too long. Also, I realized that even if I were to somehow get the value of the suggester prompt, there is no way I can pass it out. The only way the suggester closes is if you click an option or click outside and exit. The ladder, doesn't allow me to assign the value of what you typed out.

I think an enhancement issue could be made to ask that the suggester return the value last typed in the suggester input field.

But anyway, the following implementation works fine. Albeit, there's another prompt that asks you to enter the new author. But it's not too bad at all.

Demo
script

<%*
const authorFolderName = "221 Creators"
var newAuthorTFolder 
var newAuthorTemplateContent 

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fallacius
Comment options

@welpdx
Comment options

Answer selected by fallacius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants