On Saturday, May 22, 2021 at 1:16:55 AM UTC-7 JM wrote: > Status: <$select field='Status' default='new'> > <option disabled>new</option> > <option>A</option> > <option>B</option> > <option>C</option> > <option>D</option> > </$select> >
The $select widget creates a field with the specified name (i.e. "Status"). If you re-display the tiddler *during the current session* , the selected value ("A") will be shown in the $select list, as you expected. However, all field names *must* be lower case to comply with the HTML syntax used to store them in the file. So, when you save and reload the file in your browser, the fieldname has been automatically converted to lower case (i.e., "status") and when you then display the tiddler, it will show the default value (i.e., "new"), since the stored tiddler fieldname, "status", no longer matches the specified tiddler fieldname, "Status". The solution is to always use only lower case field names. -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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0b9dbb21-8d6a-4695-9479-22bebe7a14c9n%40googlegroups.com.