Soren,

The tags macro overcomes this limitation

<$list filter="[all[]tags[]]">
<$macrocall $name=tag tag=<<currentTiddler>>/>
</$list>

Only the clicked tag drop down appears.

Regards
Tony

On Tuesday, March 17, 2020 at 10:03:18 AM UTC+11, Soren Bjornstad wrote:
>
> Hi everyone,
>
> I am trying to make a simple table that lists tiddlers matching a filter, 
> along with those tiddlers' tags (in the standard pill display). I've 
> written the following template tiddler:
>
> <table>
>   <$list 
> filter="[all[current]backlinks[]!tag[Source]!tag[Publication]!tag[Place]!tag[Meta]!tag[PAO]]">
>     <tr>
>       <td>
>         <$link>{{!!title}}</$link>
>       </td>
>       <td class="tc-tags-wrapper">
>         <$list filter="[all[current]tags[]]" 
> template="$:/core/ui/TagTemplate"/>
>       </td>
>     </tr>
>   </$list>
> </table>
>
> This renders nicely enough when I transclude it. However, when the same 
> tag appears multiple times in a list and I click on that tag pill, every 
> pill's menu opens, creating an unusable mess:
>
> [image: shot.png]
>
> How can I make only the pill I click on open? From my limited knowledge of 
> web programming, I am guessing this is happening because the pills don't 
> have unique identifiers, but I have no idea how to go about fixing this in 
> my template.
>

-- 
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/1b1986d7-797d-4e35-9d10-c993b2e5df12%40googlegroups.com.

Reply via email to