title: $:/plugins/tiddlywiki/menubar/items/search custom-menu-content: {{$:/plugins/tiddlywiki/menubar/items/search}} description: Search caption: Search tags: $:/tags/MenuBar \define cancel-search-actions() <$action-deletetiddler $filter="[<__storeTitle__>] [<__tiddler__>] [<__selectionStateTitle__>]"/> \define input-accept-actions() <$action-navigate $to={{{ [<__tiddler__>get[text]] }}}/> \whitespace trim <$vars searchTiddler="$:/temp/menubarsearch/input" searchListState=<> titleSearchFilter="[!is[system]search:titlesort[title]limit[250]]" allSearchFilter="[!is[system]searchsort[title]limit[250]]"> <$macrocall $name="keyboard-driven-input" tiddler="$:/temp/menubarsearch" storeTitle=<> selectionStateTitle=<> refreshTitle="$:/temp/menubarsearch/refresh" tag="input" type="search" focusPopup="$:/state/popup/menubar-search-dropdown" class="tc-popup-handle tc-menu-show-when-wide" placeholder="Search..." default="" cancelPopups="yes" primaryListFilter=<> secondaryListFilter=<> inputAcceptActions=<> inputCancelActions=<> filterMinLength={{$:/config/Search/MinLength}}/> <$reveal tag="div" class="tc-block-dropdown-wrapper" state="$:/state/popup/menubar-search-dropdown" type="nomatch" text="" default="">
<$list filter="[get[text]minlength[1]]" emptyMessage="""
Type your search terms
""" variable="ignore"> <$list filter="[get[text]minlength{$:/config/Search/MinLength}limit[1]]" emptyMessage="""
{{$:/language/Search/Search/TooShort}}
""" variable="listItem"> {{$:/core/ui/SearchResults}}