On Wednesday, April 6, 2016 at 11:48:43 PM UTC-7, Hegart Dmishiv wrote:
>
> We've run into a little snag with the *goaction* parameter. We can't seem 
> to get it to work, neither in your example in the documentation 
> <https://tiddlytools.github.io/InsideTW/empty.html#TiddlyTools%2FMacros%2Fcombobox%2Finfo>,
>  
> nor in our own experimental tiddler 
> <https://tiddlytest.github.io/#Playing%20with%20Eric%27s%20combobox%20and%20the%20%22goaction%22%20param>.
>  
> Any idea what's going on? This is something we'd really like to use, for 
> all sorts of purposes in our TiddlyCRM project.
>

If you specify field:"text" in the macro call, it works.

Originally, the macro had a default field name of "text" automatically 
assigned as a fallback.  However, this prevented the underlying $edit-text 
widget from being able to handle set of values in data tiddlers (using 
index:"..."), because the field:"..." param takes precedence if not left 
blank.

Note: the documentation was also incorrect in using the "list" param, which 
was renamed "filter" (but you apparently found that on your own, since your 
experiment is correctly using filter:"..."

Also... although you correctly used the "okaction" param in your 
experiment, in your posting here, you called it "goaction".  I just want to 
make sure others reading this don't get confused by the mistaken param name 
in the message.  Also note that, separate from the "okaction" is an 
optional (and currently undocumented) "clickaction" param, which allows you 
to extend the default action that occurs when you click an item in the list 
(i.e., in addition to setting the clicked item value into the edit-text 
field, you can have other "side-effect" actions performed when the item is 
clicked).

enjoy,
-e

-- 
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/954ba69a-18a8-40f2-a18b-28353c286f94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to