Thanks all. I'd forgotten about regex, which solved it:
\define SearchTerm(term)
(?i)($term$)
\end
<!-- SET SUB ITEM -->
Set Parent Item:
<$edit-text tiddler="$:/_opTaskStore" field="itemsearch" tag="input" default
="" class='tc-edit-texteditor' placeholder='Test text'/>
<$button set="$:/state/ItemSearch" setTo={{$:
/_opTaskStore!!itemsearch}}>Search</$button>
test: {{$:/state/ItemSearch}}
<$wikify name="SearchTermWikid" text=<<SearchTerm {{$:/state/ItemSearch}}>>
>
wikid: <<SearchTermWikid>>
<$select field="SearchTermDD" class="tw-edit-texteditor myTextEdit">
<$list filter="[regexp:<SearchTermWikid>]" emptyMessage="No Results" >
<option value=<<currentTiddler!!title>>><$view field='title'/></option>
</$list>
</$select>
</$wikify>
The "(?i)" in the regex makes it case insensitive.
--
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/7b33e404-d9a9-4510-b2f7-72212fd7fd01%40googlegroups.com.