Skip to content

Render lazy labels in shorthand dict choices - #950

Merged
azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:fix-lazy-shorthand-choices
Nov 1, 2026
Merged

azmeuk merged 1 commit into
pallets-eco:mainfrom
azmeuk:fix-lazy-shorthand-choices

Conversation

@azmeuk

@azmeuk azmeuk commented Nov 1, 2026

Copy link
Copy Markdown
Member

Fix SelectField shorthand {value: label} choices with lazy labels, such as Flask-Babel's lazy_gettext. Each character of the label was rendered as an option of an optgroup.

@azmeuk
azmeuk merged commit 0b12826 into pallets-eco:main Nov 1, 2026
18 checks passed
@azmeuk
azmeuk deleted the fix-lazy-shorthand-choices branch November 1, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant