Here’s a very simple example of a dropdown using focusPopup: —
Editing TargetTiddler. <$edit-text tiddler="TargetTiddler" tag="input" default="" focusPopup="$:/state/demo" class="tc-popup-handle"/> <$reveal state="$:/state/demo" type="nomatch" text="" default=""> <div class="tc-block-dropdown"> <$linkcatcher to="TargetTiddler"> <div class="tc-dropdown-item"> [[A value to set]] [[Another value]] [[These links could be generated]] [[by a list widget, too]] </div> </$linkcatcher> </div> </$reveal> — I’d welcome a documentation contribution on this. Best wishes Jeremy. > On 24 Oct 2015, at 15:22, FrD <[email protected]> wrote: > > Hi, > > I managed to have it working. The code looks like : > > <$edit-text tiddler="AuxTest" field="inputfield" focusPopup="PopupState"/> > <$reveal type="popup" state="PopupState" class="tc-popup-keep"> > <div class="tc-drop-down"> > > {{PopupTiddler}} > </div></$reveal> > > With a <$reveal> after the <$edit-text> it works; at least if you keep the > mouse button down until you reach the popup ! > PopupTiddler is displayed inside a popup. This tiddler has a button to close > the popup by deleting the state tiddler as shown by Eric Shulman > (https://groups.google.com/d/msg/tiddlywiki/Ggm1-oblWP8/ys4OZyYaEAAJ > <https://groups.google.com/d/msg/tiddlywiki/Ggm1-oblWP8/ys4OZyYaEAAJ>) > > FrD > > > > > Le samedi 24 octobre 2015 15:06:06 UTC+2, FrD a écrit : > Hi, > > I've read in the doc (http://tiddlywiki.com/#EditTextWidget > <http://tiddlywiki.com/#EditTextWidget>) that the edit-text widget can > trigger a popup with the option focusPopup="PopupStateTiddler". > > I've tried to use this construct but with no results. My goal was to have a > popup appear with buttons to give a value to the field (via action-setfield) > and a button to close the popup. > > As there is no documentation or exemple in the doc, can anybody explain how > to make this work ? > > Thanks in advance. > > FrD > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/tiddlywiki > <http://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/22ffdfb8-9a08-44ad-a0b0-48628ea3409e%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/22ffdfb8-9a08-44ad-a0b0-48628ea3409e%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4270C072-1840-48FA-90E5-47DC758ED58C%40gmail.com. For more options, visit https://groups.google.com/d/optout.

