How Disable Timestamp for Select Widget

Thiddlywiki allows to turn off the timestamp for $action-setfield
See https://tiddlywiki.com/#ActionSetFieldWidget

$timestamp | Specifies whether the timestamp(s) of the target tiddler will be updated (modified and modifier, plus created and creator for newly created tiddlers). Can be “yes” (the default) or “no”

But how can I turn off timestamp for SelectWidget for example

<$select field="readstatus" default="unread" >
  <option value="unread">unread</option>
  <option value="partial">partial</option>
  <option value="read">read</option>
  <option value="reread">reread</option>
</$select>

This issue has come up several times in the past.

There is an open [IDEA] ticket on GitHub:

1 Like

It seems @jeremyruston liked the idea: See [IDEA] Add timestamp option/attribute to other widgets like action-setfield · Issue #5992 · Jermolene/TiddlyWiki5 · GitHub

We only need volunteers with JS knowledge to go ahead!

Being able to use timstamp=no on the select widget would be useful but there is already a somewhat simple way to do it.

Use a temporary tiddler or fieldname to store the selection

  • You don’t care if its timestamp is updated.
  • Then use the actions parameter to trigger actions containing the ActionSetFieldWidget which allows the $timestamp=no to be used.

Using this code pattern has other values over simply setting a timestamp=no on the select widget, because you can easily add actions to the selection event, such as the recording the last selection, or building a Most Recently Used MRU list for the selection process.

  • But you could set a start time and other features.
  • Juist to be clear ActionSetField already has timestamp

This list shows only three widgets include this parameter;

<$list filter="[tag[Widgets]]">
<$link/>^^{{{ [all[current]search[timestamp]then[*]else[]] }}}^^<br>
</$list>