In https://tiddlywiki.com/#ButtonWidget it explains

set A TextReference <https://tiddlywiki.com/#TextReference> to which a new 
value will be assigned
Now assume you have a button like this

      <$button 
        set={{!!note-status}}
        setTo="show" 
        class="tc-btn-invisible">
          {{icon/addNote.svg}}
      </$button>

It creates a new tiddler with title got from the {{!!note-status}} and set 
its text to show. But the purpose here to set the field note-status in the 
current tiddler! However the below code works fine

      <$button 
        set="!!note-status"
        setTo="show" 
        class="tc-btn-invisible">
          {{icon/addNote.svg}}
      </$button>

Note to set="!!note-status"

Do you know why?

- Mohammad

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3cd1c84a-30b9-440e-bbf8-1c42e0a0e0fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to