\define add()
<$setvars _currentTiddler=$(currentTiddler)$ listops-string="""\<$action-listops $tiddler="$:/plugin/ajh/format/list" $field="list" $subfilter="[[\ currentTiddler \]]" />\""">
<<listops-string>>
</$setvars>
\endI'm trying to add to the list field using the checkbox widget and can't figure out how to write it.
<input type="checkbox">
<input type="checkbox" checked="checked">
\define lingo-base() $:/language/TiddlerInfo/
\define add() [[$(currentTiddler)$]]
\define remove() -[[$(currentTiddler)$]]
{{$:/language/format/hint##controlpanel}}
<$set name="tv-config-toolbar-icons" value="yes">
<$set name="tv-config-toolbar-text" value="yes">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/FormatToolbar]!has[draft.of]]">
<$list filter="[list[$:/plugin/ajh/format/list]is[current]]"><$button tooltip={{$:/language/Buttons/Format/Hint}} aria-label={{$:/language/Buttons/Format/Caption}} class=<<tv-config-toolbar-class>>>
<$action-listops $tiddler="$:/plugin/ajh/format/list" $field="list" $subfilter=<<remove>>/><input type="checkbox" unchecked="true"/></$button></$list><$list filter="[all[current]!list[$:/plugin/ajh/format/list]]"><$button tooltip={{$:/language/Buttons/Format/Hint}} aria-label={{$:/language/Buttons/Format/Caption}} class=<<tv-config-toolbar-class>>><$action-listops $tiddler="$:/plugin/ajh/format/list" $field="list" $subfilter=<<add>>/><input type="checkbox" checked="true"/></$button></$list>
<$transclude tiddler=<<currentTiddler>> field="caption"/><i class="tc-muted"> -- <$transclude tiddler=<<currentTiddler>> field="description"/></i>
</$list>
</$set>
</$set>
...<input type="checkbox" unchecked="true"/>