Hi.
What I am attempting to do is set a field after the user has entered the title of a tiddler that was just created.
- User presses modified $button widget.
- When prompted, enters new tiddler's title.
- Tiddler is created and stored.
- The tiddler that holds the widget has it's value set to the new tiddler's title.
- Related widgets update and refresh. (This is the breakdown)
The block that adds this behaviour is a very simple setText call.
This code mechanically sets everything correctly, it is just the redraw of the $select widget that does not happen. Actually, it does redraw but does not set the matching value for the field. If you close/edit the tiddler it redraws it shows the correct value.
This seems to be a problem with widget outside the normal "content space". As the same widgets placed in the body of the tiddler behave correctly. You can play with an example here; the example is a partial implementation of creating a new Project.
I would appreciate any time someone took to look at this mess.
Debug help or tips.