hi tiddlywiki-ers
I have tried the following hoping that it would set the default tab but without luck:
<<tabs "[tag[daily-challenge]]" state="$:/state/tab" default="[tag[daily-challenge]first[]]">>
Any help would be greatly appreciated,
M
hi tiddlywiki-ers
I have tried the following hoping that it would set the default tab but without luck:
<<tabs "[tag[daily-challenge]]" state="$:/state/tab" default="[tag[daily-challenge]first[]]">>
Any help would be greatly appreciated,
M
Hi @moonfish
Try this:
<$transclude
$variable="tabs"
tabsList="[tag[daily-challenge]]"
state="$:/state/daily-challenge"
default={{{ [tag[daily-challenge]first[]] }}}
/>
Notes:
<<mymacro XXX>>
when an attribute must be dynamically computed, so I had to switch to the <$transclude>
widget complete syntax.Fred