Hello everyone,

I stumble on an issue that I can seem to solve by myself: in the code
below, I need to set focus=yes to counter the lost of focus caused by the
<$set> content refresh :

<$set name=foo value=<<now format:"[UTC]YYYY-0MM-0DD@0hh:0mm:0ss">> >

Refresh of the `foo` value: ''<<foo>>'' causes either //focus// or //user
input// (when `focus=yes`) to be lost.

<$edit-text tiddler="$:/state/foo" focus=yes tag=input placeholder="Try
typing something" default=""/>
</$set>

But then the input text gets selected as it is typed, causing the next
character to replace the previous one. Tested on 5.1.21 and
5.1.22-prerelease, on Firefox and Chrome. How would you solve this?

Thanks in advance for your help!

-- Xavier Cazin

-- 
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/CADeSwYPUwP2jm1-aynHhaNtRSXttL%3DD6y9xWbVEUc75eWYSgQA%40mail.gmail.com.

Reply via email to