mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Autofocus advanced search text edit input
This commit is contained in:
parent
22fe4451c8
commit
94f143bf64
@ -6,7 +6,7 @@ caption: {{$:/language/Search/Filter/Caption}}
|
|||||||
<<lingo Filter/Hint>>
|
<<lingo Filter/Hint>>
|
||||||
|
|
||||||
<div class="tc-search tc-advanced-search">
|
<div class="tc-search tc-advanced-search">
|
||||||
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/>
|
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]"><$transclude/></$list>
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]"><$transclude/></$list>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ caption: {{$:/language/Search/Shadows/Caption}}
|
|||||||
<<lingo Shadows/Hint>>
|
<<lingo Shadows/Hint>>
|
||||||
|
|
||||||
<div class="tc-search">
|
<div class="tc-search">
|
||||||
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/>
|
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
|
||||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||||
<$button class="tc-btn-invisible">
|
<$button class="tc-btn-invisible">
|
||||||
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
||||||
|
@ -8,7 +8,7 @@ caption: {{$:/language/Search/Standard/Caption}}
|
|||||||
<<lingo Standard/Hint>>
|
<<lingo Standard/Hint>>
|
||||||
|
|
||||||
<div class="tc-search">
|
<div class="tc-search">
|
||||||
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/>
|
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
|
||||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||||
<$button class="tc-btn-invisible">
|
<$button class="tc-btn-invisible">
|
||||||
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
||||||
|
@ -8,7 +8,7 @@ caption: {{$:/language/Search/System/Caption}}
|
|||||||
<<lingo System/Hint>>
|
<<lingo System/Hint>>
|
||||||
|
|
||||||
<div class="tc-search">
|
<div class="tc-search">
|
||||||
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/>
|
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
|
||||||
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
||||||
<$button class="tc-btn-invisible">
|
<$button class="tc-btn-invisible">
|
||||||
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
||||||
|
Loading…
Reference in New Issue
Block a user