Thanks Mark. No idea why that first one didn't work but the second one
works perfectly. I actually modified it slightly as follows, since I'm
using this tiddler as a mask for several others so wanted them to be able
to display different values.
\define tag-select-actions()
<$vars lf="[[" rt="]]" >
<$action-listops $tiddler=<<currentTiddler>> $field="tags" $filter={{{
[{!!_tag_selection}addprefix<lf>addsuffix<rt>]}}} />
</$vars>
\end
<$select field=_tag_selection actions=<<tag-select-actions>> >
<$list
filter='[_object_type[location]!title<currentTiddler>!tag<currentTiddler>]'>
<option value=<<currentTiddler>> ><$view field='title'/></option>
</$list>
</$select>
Thanks again for your help
On Sunday, 27 December 2020 at 22:13:04 UTC Mark S. wrote:
> And here's a second version, that uses the action attribute. This is
> probably closer to the "official" way things should be done, and is easier
> to read.
>
>
>
> On Sunday, December 27, 2020 at 1:51:47 PM UTC-8 Mark S. wrote:
>
>> In case things got mangled in copy/paste, I've attached a JSON file with
>> the code that you can import.
>>
>> On Sunday, December 27, 2020 at 1:47:58 PM UTC-8 Mark S. wrote:
>>
>>> It's hard to diagnose at a distance. But as you can see in the
>>> screenshot, it's working on mine. Possibly something got mangled when you
>>> copied the code?
>>>
>>> You could download your tiddler set in a JSON bundle, and then post them
>>> here.
>>>
>>>
>>>
--
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/650136b6-b8fb-4d63-9824-d5324893788an%40googlegroups.com.