Skip to content

Maintenance: Document the default column for tree select fields - #1352

Merged
ralf401 merged 2 commits into
pre-releasefrom
rsc/maintenance/treeselect-default
Oct 22, 2026
Merged

ralf401 merged 2 commits into
pre-releasefrom
rsc/maintenance/treeselect-default

Conversation

@ralf401

@ralf401 ralf401 commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Single and multiple tree selection fields gained a "Default" column
next to "Active" (zammad bb5f746a84, Fixes zammad/zammad#6143).

Source anchors (origin/develop):
- Column header "Default": object_manager/attribute/tree_select.jst.eco
  (radio) and multi_tree_select.jst.eco (checkbox)
- Single select: clicking the selected radio again clears it
  (_ui_element/object_manager_attribute.coffee, tree_select click handler)
- Inactive values cannot be the default: radio/checkbox disabled for
  disabled rows and cleared on deactivation (same file, buildRow and
  .js-active change handler); treeParams skips disabled rows
  (object_manager.coffee)
- Multi select stores an array of defaults, single select one value
  (object_manager.coffee, treeParams)
@github-actions

Copy link
Copy Markdown

Artifacts

Produced during runtime

📦 html-cbd78b7

@ralf401
ralf401 merged commit 3962767 into pre-release Oct 22, 2026
1 check passed
@ralf401
ralf401 deleted the rsc/maintenance/treeselect-default branch October 22, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant