Solved in fact 

The correct code is 

Company <$select tiddler="LogSearchInput" field="companyField">
<$list filter='[tag[Contact]each[company]sort[company]]'>
<option> <$view field='company'/></option>
</$list>
</$select>


Le vendredi 11 octobre 2019 16:40:32 UTC+2, vpl a écrit :
>
> Hi experts ..!
>
> I have a question related to the select widget
>
> I have create a tiddler called "contactTemplate"
> In this tiddler I've created a select witch lists the unique content of 
> the "company" field of all of my tiddlers with a "Contact" tag
>
> Company <$select tiddler="LogSearchInput" field="companyField">
> <$list filter='[tag[Contact]each[company]sort[company]]'>
> <option value=<<currentTiddler>>><$view field='company'/></option>
> </$list>
> </$select>
>
> This works fine.
>
> But I want to set to the "companyField" of the tiddler "LogSearchInput" 
> the user selection (in my case the "company" selected value)
>
> With the above code the companyField is set to the tiddler *title 
> unfortunately .. * 
>
> How should I modify this code to get, in the companyField, the selection 
> of the select widget ?
>
> Thanks a lot for your help
>
> Regards
>
> Vpl
>
>
>

-- 
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/53f55109-e7ba-452d-b546-0789d6bbfb63%40googlegroups.com.

Reply via email to