This is what i came up with to do essentially what you are suggesting: This is from a DnD spell sheet selection.
\define choose_spell(field:nofield tags:"") <$set name="myTidField" value="$(currentTiddler)$!!$field$"> <$button popup="$:/state/listpop" class="tc-dropdown-handle tc-btn-invisible">Pick</$button> <$reveal type="popup" state="$:/state/listpop"> <div class="tc-drop-down"> <$list filter="[$tags$]"> <div class="tc-dropdown-item"> <$button set=<<myTidField>> setTo={{!!spell_name}} class="tc-btn-invisible"> <$view field="spell_name"/></$button> </div> </$list> </div> </$reveal> </$set> \end On Wednesday, July 19, 2017 at 12:28:10 PM UTC-4, Vayu Asura wrote: > > Basicall I want to combine two examples from documentation: > > this > > <$button popup="$:/SamplePopupState">Pop me up!</$button> > > > <$reveal type="popup" state="$:/SamplePopupState"> > <div class="tc-drop-down"> > > > ! This is the popup > And this is some text > > > </div> > </$reveal> > > with this > > <$reveal type="match" state="!!jeremy" text="tiddlywiki"> > ~TiddlyWiki! > </$reveal> > > The problem is I can't find a way for a popup button parameter to > reference a field: > > <$button popup="!!jeremy">Pop me up!</$button> > > does not work > > I did manage to make a slider with SetField action but it is not a popup - > you can't click on an area to hide it. > -- 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/28adbb3c-cb0f-4746-9aba-89ab4d1da4df%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.