mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 12:14:36 +00:00
* Revert the list-tagged-draggable to use title field by default * Update list.tid It seems `<$transclude field=<<__field__>> />` when field default value is empty does not work as expected. This commit uses `field:"title"` instead of `field:""` in the list-tagged-draggable header. * Update list.tid The redundant `field` removed. The new `displayField` attribute is used to let user choose the filed they like to display when the list items are rendered as simple links. * Update list.tid The proposed field attribute in list-tagged-draggable updated to use the same `displayField` aslist-links-draggable. * Create #9177 change note for #9177 was created * Update list.tid The `list-links-draggable` now is fully backward compatible. It uses caption as default field as before and is compatible with `list-links`. The `list-tagged-draggable` is fully backward compatible while got a new displayField parameter. * Update list-tagged-draggable Macro.tid Update docs to reflect new displayField parameter * Update list-links-draggable Macro.tid Update documentation to reflect the new displayField parameter. * Update list-tagged-draggable Macro.tid Update docs. Remove formatting error in doc.
13 lines
578 B
Plaintext
13 lines
578 B
Plaintext
title: $:/changenotes/5.4.0/#9177
|
|
description: Add Display Field to list-tagged-draggable and list-links-draggable
|
|
release: 5.4.0
|
|
tags: $:/tags/ChangeNote
|
|
change-type: enhancement
|
|
change-category: usability
|
|
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9177
|
|
github-contributors: kookma
|
|
|
|
A new input parameter, `displayField`, has been added to the `list-links-draggable` and `list-tagged-draggable` macros,
|
|
allowing users to specify which field (e.g., title, caption, or any custom field) should be displayed when a tiddler is
|
|
rendered via the draggable macro.
|