Hi Tony, The *currentTiddler* on which you rely in your *<$action-setfield>* widgets is changed by the <$list> widget. So I guess you need to set explicitly either the $tiddler attribute in your <$action-setfield>s or the variable attribute in the <$list>s.
Cheers, -- Xavier. On Mon, Mar 23, 2020 at 11:35 AM TonyM <[email protected]> wrote: > Hi Folks, > > I am using a select widget to set an input mode select-input and I would > like the result of this selection to result in actions based on the option > taken, ie set the input field > > \define *set-input-actions*() > <$list filter="[{*!!selected-input*}match[allobject]]"> > <$action-setfield $field="input" > $value="[!is[system]object-type{!!selected-object}]"/> > </$list> > <$list filter="[{*!!selected-input*}match[object]]"> > <$action-setfield $field="input" > $value="[!is[system]object-type{!!selected-object}]"/> > </$list> > <$list filter="[{*!!selected-input*}match[list]]"> > <$action-setfield $field="input" > $value="[!is[system]object-type{!!selected-list}]"/> > </$list> > <$list filter="[{*!!selected-input*}match[lists]]"> > <$action-setfield $field="input" $value="{{!!selected-lists}}"/> > </$list> > <$list filter="[{*!!selected-input*}match[filter]]"> > <$action-setfield $field="input" $value="{{!!selected-filter}}"/> > </$list> > \end > > \define *select-input*() > <$select field=*selected-input* *actions=<<set-input-actions>>* > > <option value="allobject">All Instances of Object</option> > <option value="objects">Selected Objects</option> > <option value="list" >Use "a" list</option> > <option value="lists" >Input List{s}</option> > <option value="filter" >Input Filter</option> > </$select> > \end > > *<<select-input>>* > > Unfortunately the input field is never set. Are my conditions in the > actions too much? or have I done something else wrong. > > It is hard debugging actions because they are so invisible. > > Any help appreciated > Tony > > > > -- > 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/9e7283ea-3eec-4049-ba86-7e4a4d0c27e1%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/9e7283ea-3eec-4049-ba86-7e4a4d0c27e1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CADeSwYOCE847Ta316xZUvVEi4F-5bz3f_b4gedAJP9X-biedrg%40mail.gmail.com.

