Hello,
To avoid duplications of values in fields warning;
list all unique values from the warning field of all tiddlers with 2
buttons: Add and Remove. (Add and remove from $(currentTiddler)$ )
<$list filter="[tags:warning[]]" variable=warning-value>
<$button type="button" class="btn btn-secondary btn-mini" >
<$action-listops $field="warning" $subfilter=<<warning-value>>/>
{{$:/core/images/new-button}}
</$button>
<$button type="button" class="btn btn-secondary btn-mini" >
<$action-listops $field="warning" $subfilter=<<warning-value>>/>
{{$:/core/images/delete-button}}
</$button>
<<warning-value>>
</$list>
1) When the value is added to the field, the square brackets are missing.
How do I ensure that the value is noted between square brackets?
2) I am unable to remove the value from the field.
$subfilter="-123" is working. But how do I get it to work referring to
<<warning-value>>?
3) It would be totally awesome if I had a search function. By replacing
<$list filter with;
<<list-search filter:"[tags:warning[]]" placeholder: "Search field
warning">>
Which works fine on its own but I can't get it implemented.
Can somebody please help me out?
--
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/19c9a8cf-efbf-4a6e-bb51-76d6e96c5a14n%40googlegroups.com.