Skip to content

fix(element): Add label to Property Set dropdown on Properties tab#16896

Open
Ibochkarev wants to merge 1 commit intomodxcms:3.xfrom
Ibochkarev:fix/13901-property-set-label
Open

fix(element): Add label to Property Set dropdown on Properties tab#16896
Ibochkarev wants to merge 1 commit intomodxcms:3.xfrom
Ibochkarev:fix/13901-property-set-label

Conversation

@Ibochkarev
Copy link
Collaborator

What does it do?

Adds a visible label "Property Sets:" for the Property Set dropdown on the Properties tab of elements (Chunk, Snippet, Template, etc.). The label is rendered in the toolbar in modx.grid.element.properties.js and in the tbar in modx.panel.property.set.js, using the existing lexicon key propertysets.

Why is it needed?

The Property Set dropdown had no label, so users could not tell what the control was for. This change makes the UI clearer and fixes the missing label reported in the related issue.

How to test

  1. Edit a Chunk (or any element that has a Properties tab with Property Sets).
  2. Open the Properties tab.
  3. Confirm that the label "Property Sets:" appears next to the Property Set dropdown in the toolbar.

Related issue(s)/PR(s)

Resolves #13901

- Add 'Property Sets:' label in modx.grid.element.properties.js toolbar
- Add 'Property Sets:' label in modx.panel.property.set.js tbar
- Uses existing lexicon key propertysets

Resolves modxcms#13901
@Ibochkarev Ibochkarev marked this pull request as ready for review February 25, 2026 03:11
@biz87
Copy link

biz87 commented Feb 25, 2026

Code Review

Summary

Adds a "Property Sets:" label from the existing propertysets lexicon key to the Property Set dropdown on the Properties tab. 2 JS files, +2/-2.

Verdict

Approve — minimal, correct change using existing lexicon.

Copy link
Member

@mkschell mkschell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, clean, minimal UX improvement. Lexicon key already in use so i18n is covered. Good to merge imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

modx 3.x property set dropdown has no label

3 participants