Hi Boris

> Autofous of the search input field on page load would be great.

I agree that it would be useful, I've not managed to implement it yet,
though.

> I tried to edit $:/core/ui/SideBarLists

> <$edit-text tiddler="$:/temp/search" type="search" tag="input" autofocus/>

It wasn't properly documented, but the correct syntax is:

<$edit-text tiddler="$:/temp/search" type="search" tag="input"
focus="true"/>

However, I'm afraid it doesn't work for focusing the search box at startup,
despite it working OK for focusing the title of newly created tiddlers.

I've updated the documentation for the edit-text widget here:

https://github.com/Jermolene/TiddlyWiki5/commit/95897103ef1f7e8b039226ba19b30c41b2f135c0

Best wishes

Jeremy.





On Sun, Jan 4, 2015 at 1:15 PM, Boris Schaefer <[email protected]>
wrote:

>
>
>
>   Hi
>
>
>
> I would like to second this request:
>
> https://groups.google.com/d/topic/tiddlywiki/E8iZEKIUO7c/discussion
>
>
>
> Autofous of the search input field on page load would be great.
>
> A user searching for a specific information in the wiki would not need to
> move the mouse cursor but could immediately start writing the search term.
>
>
>
> I tried to edit
>
> $:/core/ui/SideBarLists
>
>
>
> with
>
>
>
> <$edit-text tiddler="$:/temp/search" type="search" tag="input" autofocus/>
>
>
>
> but it did not had any results.
>
>
>
>
>  --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to