Hi Jeremy Am Samstag, 30. November 2013 00:05:59 UTC+1 schrieb Jeremy Ruston: > > But wouldn't that mean that if I've got two sets of radio buttons > displayed as part of two separate renderings of the same tiddler, then the > browser would enforce a restriction such that only one radio button is > selected at once? >
Isn't that a problem anyway? Or maybe not? If I have Checkboxes A, B and C and A is selected. I have 2 renderingsof the tiddler and I select B in the first. What should happen? Ideally B in the second would be selected too… We'll see when I add the <<qualify>> macro. But I want to wait until #16 because we have a sortish sequence there. > So, your radio buttons would need an optional "group" attribute that would > be set as: > I don't think so. The name-attribute of the HTML Element needs to be the same for the radio buttons. At the moment the name is set to Tiddler!!fieldname. But this need not be. Just taking the Tiddlers qualify + the fieldname should be sufficient. The tiddlers qualify should be identical for all buttons and the name is identical for all the buttons belonging together. A macro to encapsulate creating a group of radio buttons along the lines of > the tabs macro would be useful. > Left as an exercise to the user :D > > Would be perfect. Will I be allowed to keep setTextReference as long as we >> don't have it? >> > > No, just include the wiki.setField method in your pull request. > Too late :( > > >> Okay… So I think I'll add a "tiddler" attribute and assume the "field" >> attribute is set properly. >> > > Cool. I'll add some comments to your pull request. At a quick glance there > is a fair bit of cleaning up to do, I hope you'll not mind being patient > while we get things into shape, > Sure no problem. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev. For more options, visit https://groups.google.com/groups/opt_out.
