Hello,

In this code: How can I make the title appear as a tag pill  
{{||$:/core/ui/TagTemplate}}, and the contents of field "title-description" 
behind it?



\define tmpSearchTid() $:/temp/demo/qa/search-slider
\define faqFilter() [tag[G]search:title {$(tmpSearchTid)$}] 
\define revealStateTid() 
$:/state/shiraz/slider-macro/$(currentTiddler)$/$(currentTiddler)$

\define expand-all()
<$list filter=<<faqFilter>> >
<$action-setfield $tiddler=<<revealStateTid>> text="open"/>
</$list>
\end

\define close-all() <$action-deletetiddler 
$filter="[prefix[$:/state/shiraz/slider-macro/]]"/>


<$keyboard key="escape" actions='<$action-setfield 
$tiddler=<<tmpSearchTid>> $field="text" $value=""/>'>
<$edit-text tiddler=<<tmpSearchTid>> filed="text" tag=input default="" 
placeholder="Search" class="alert alert-dark w-100"/>
</$keyboard>
<$button actions=<<expand-all>> class="btn btn-secondary btn-sm">Expand 
all</$button>
<$button actions=<<close-all>>  class="btn btn-secondary btn-sm">Close 
all</$button>
<$list filter=<<faqFilter>> >
<$macrocall $name=slider label=<<currentTiddler>> src={{!!text}}
labelClass="alert alert-dark" srcClass="alert alert-dark"/> 
</$list>



Thank you,

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ade6b90b-58bb-46bc-a0ca-0437f774dfe6n%40googlegroups.com.

Reply via email to