tobaisch

Can you use another list field to wrap the search results and only display 
them if $:/temp/mysearch is non blank

<$list filter="[[$:/temp/mysearch]has[text]]" emptyMessage="No search 
string" variable=nul>
  Search and display results here
</$list>

Using the has[fieldname] is only true if text is non-blank rather than 
has:field[text] which is if it even exists and empty

Regards
Tony

On Sunday, December 15, 2019 at 10:53:02 AM UTC+11, Eric Shulman wrote:
>
> On Saturday, December 14, 2019 at 3:33:18 PM UTC-8, Mark S. wrote:
>>
>>
>> <$list filter="minlength{$:/config/Search/minlength}]" 
>> emptyMessage="Search is too short" >
>>
>
> I think there's some missing filter syntax... the minlength[] filter needs 
> some input... such as the actual text entered for the search.
>
> something like this:
>
> <$list filter="[{$:/temp/mysearch}minlength{$:/config/Search/minlength}]" 
> emptyMessage="Search is too short" >
>
> -e
>

-- 
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/218d9d60-4100-468a-9ea9-ddaa085cfdde%40googlegroups.com.

Reply via email to