I am attempting to create a button that, when clicked, pops up a <$list> of tiddlers w/ a specified set of tags. on clicking a list item, it sets a field/index in the specified tiddler.
This is a for a spell sheet template for a dnd campaign notebook i am making. I was attemping to adapt from Tobias' popup macros, but i am butchering it terribly. Can someone clue me in on what i'm doing wrong? \define choose_spell(field:nofield tags:"") <$set name="state" value=<<qualify """$:/state/pop-$field$""">>> <$button popup=<<state>> class="pop-btn" selectedClass="pop-btn-selected">$field$</$button><$reveal type="popup" state=<<state>> class="tc-popup pop-popup" set="$(title)$"> <div class="tc-block-dropdown"> <$linkcatcher setTo="$field$"> <div class="tc-dropdown-item"> <$list filter="[tag[Spell]$(tags)$]"> <$link to=<<state>> >{{##title}}</$link> </$list> </div> </$linkcatcher> </div> </$reveal> </$set> \end <span> {{##myfield}} <<choose_spell myfield "Spell Level/0 [Class Paladin]">> </span> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2990256f-82d7-472f-b564-06e1e3d249df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.