Thanks for the replies.  I ended up with something very close to Eric first 
example except I added a separate ListEdit tab in the Info area.  If you 
read the Github discussion, Jeremy seems to like the idea so perhaps it'll 
be a feature soon.

Thanks.

On Thursday, August 5, 2021 at 9:53:51 PM UTC-4 Eric Shulman wrote:

> On Thursday, August 5, 2021 at 6:35:09 PM UTC-7 Eric Shulman wrote:
>
>> This is actually quite easy to do, using the *list-links-draggable* macro
>>
>
> errata: my previous solution omitted the display of the "List/Empty" 
> message when the list field is empty.
>
> Here's a corrected version that includes the "List/Empty" message:
> <$list filter="[list{!!title}limit[1]]" emptyMessage=<<lingo List/Empty>> 
> variable="has_list_items">
>    <$macrocall $name="list-links-draggable" type="span" subtype="div" 
> itemTemplate="$:/core/ui/ListItemTemplate"/>
> </$list>
>
> Note:
> * The outer $list widget checks to see if the list field has at least 1 
> item. If it doesn't, the fallback emptyMessage content is displayed.
> * Using variable="has_list_items" preserves the currentTiddler context 
> for use by the $macrocall contained within the $list widget.
>
> -e
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/76d58bf5-cbd8-459e-89e8-555e9e29a681n%40googlegroups.com.

Reply via email to