# Group tag selector not allowing a selection

**URL:** https://meta.discourse.org/t/group-tag-selector-not-allowing-a-selection/404021
**Category:** Support
**Tags:** form-templates
**Created:** [May 28, 2026, 4:04pm UTC](https://meta.discourse.org/t/group-tag-selector-not-allowing-a-selection/404021 "2026-05-28T16:04:22Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 28, 2026, 9:51pm UTC](https://meta.discourse.org/t/group-tag-selector-not-allowing-a-selection/404021/7 "2026-05-28T21:51:40Z")

</div>

Thanks, I managed to reproduce the issue locally by using mixed case tag names.

> <https://github.com/discourse/discourse/pull/40379>
>
> When a form template \`tag-chooser\` field is populated from a tag group, each
> \`\<o…ption\>\` is rendered with its display value (the tag name upper-cased, or its
> description). Selecting an option then has to translate that display value back
> to the underlying tag name before storing it on the composer.
> 
> \`handleSelectedValues\` did this translation by lower-casing the option value
> (\`"HIGH"\` -\> \`"high"\`) and \`handleInput\` matched the result case-sensitively
> against the real tag names. On sites with \`force\_lowercase\_tags\` disabled, tag
> names keep their casing (e.g. \`"High"\`), so the reconstructed \`"high"\` never
> matched, the selection was silently dropped, and the dropdown reset to its
> placeholder. Lower-case tag names round-tripped fine, which is why this only
> affected sites allowing mixed-case tags.
> 
> This regressed in ed8a62e2729, which switched the option value from the tag
> name to the upper-cased display and reintroduced the lower-casing round-trip to
> reverse it.
> 
> Instead of guessing the casing, build a map of each choice's display value back
> to its exact tag name and look the selected option up in it. Selections are now
> preserved regardless of tag name casing. Adds a system spec covering tag names
> with uppercase characters and \`force\_lowercase\_tags\` disabled.

---

_[View the full topic](https://meta.discourse.org/t/group-tag-selector-not-allowing-a-selection/404021)._
