Hi Chris, Yes, such a widget would be useful. It is too complicated for me to produce at my level now. If we were able to use a select to change fields it would be much easier to navigate a form with the keyboard, rather than using the current pseudo select solution that is used in edit mode when changing mime-types.
Daniel On Thursday, January 9, 2014 6:30:27 AM UTC+1, Chris wrote: > > > Hey Daniel, > > I thought about this for a minute longer - and if it were me I would take > approach 1. The reason is that the thought behind <$select....> is the > setting of a temporary/scoped variable - just like <$set...>. Setting a > fleld value is quite different in the sense that one is setting a > persistent/persisted variable. I don't think that it would be good to mix > those thoughts up into a single widget. So - idea 1. where we use > <$select....> to select a temporary value and then a <$setField....> to > persist the value, all seems quite nice and logical (to me, at least, for > now). > > Chris. > > On Thursday, January 9, 2014 5:12:04 AM UTC, Chris wrote: >> >> Hey Daniel, >> >> I can't immediately think of any native way to do what you are asking - >> so, a couple of thoughts/ways of non-native ways of doing what you are >> asking: >> >> 1 - Create a <$setField.....> widget which sets a field to a specific >> value. Then you could do something like: >> >> <$select filter=.... variable="fieldValue"><$setField field="someField" >> value=<<fieldValue>>/></$select> >> >> 2 - Modify the <$select.....> widget by adding a parameter such as.... >> >> <$select filter=.... field="someField"/> >> >> Either approach would work quite nicely I think. >> >> Cheers - Chris. >> >> >> >> On Tuesday, January 7, 2014 9:52:33 PM UTC, Daniel wrote: >>> >>> Hi >>> >>> How can I use the select widget to change the values of a field in a >>> tiddler? >>> >>> I wonder if I can have a select box in a view template where the >>> selected value is the value of a field and when I change the selected value >>> the field value is changed and persists? >>> >>> Daniel >>> >>> -- 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.
