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!