# Is using type: group in plugins no longer working?

**URL:** https://meta.discourse.org/t/type-group/405487
**Category:** Support
**Tags:** plugin-api
**Created:** [June 17, 2026, 8:08am UTC](https://meta.discourse.org/t/type-group/405487 "2026-06-17T08:08:05Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [June 17, 2026, 8:08am UTC](https://meta.discourse.org/t/type-group/405487/1 "2026-06-17T08:08:05Z")

</div>

Has using `type: group` in plugins become ineffective?

I tried using it in a plugin, but it didn’t work. The input field behaves like `text` instead of the expected `select`.

Has `type: group` been deprecated?

```plaintext
  quectel_online_customer_general_customer_group_id:
    default: ""
    type: group
    client: true

```

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 17, 2026, 8:35am UTC](https://meta.discourse.org/t/type-group/405487/2 "2026-06-17T08:35:46Z")

</div>

I think it has to be `type: group_list`

---

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [June 17, 2026, 8:39am UTC](https://meta.discourse.org/t/type-group/405487/3 "2026-06-17T08:39:05Z")

</div>

Yes, I looked into it, and basically everyone uses `type: group_list`.

However, my requirement is to select only one. If I use `type: group_list`, I have to add a custom validation to prevent multiple selections. While this works, it feels very awkward.

Why was `type: group` removed? Just like with `type: category`, there are scenarios where only a single selection is needed. It shouldn’t be a blanket rule.

Unless `type: group_list` can support the case of selecting just one.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 17, 2026, 8:45am UTC](https://meta.discourse.org/t/type-group/405487/4 "2026-06-17T08:45:10Z")

</div>

I’m not sure it was removed, it looks more like it was never really implemented maybe? It does seem odd.

Think this might be worth opening a #Contribute > Feature request for to be honest.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 17, 2026, 8:59am UTC](https://meta.discourse.org/t/type-group/405487/5 "2026-06-17T08:59:44Z")

</div>

Actually @gerhard you have any more context? I see there is a note about a TODO regarding the documentation

> <https://github.com/discourse/discourse/blob/main/migrations/importer/lib/migrations/importer/steps/site_settings_with_dependencies.rb#L28-L30>

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [June 17, 2026, 9:14am UTC](https://meta.discourse.org/t/type-group/405487/6 "2026-06-17T09:14:15Z")

</div>

I’m not sure. As the TODO notes, while working on the importer script, I noticed that the type `group` seems to be stored as a text, not an ID. I guess it was never implemented as a select. In the beginning of Discourse we mostly had text fields for site settings. This might still be a remnant of it.

---

<div class="post-metadata">

### Author: ![singi2016cn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/singi2016cn/32/532755_2.png) [@singi2016cn](https://meta.discourse.org/u/singi2016cn)
#### Post date: [June 17, 2026, 9:15am UTC](https://meta.discourse.org/t/type-group/405487/7 "2026-06-17T09:15:21Z")

</div>

Yes, it’s in the form of a text box now. Looks like it was never implemented. 🤣

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [June 17, 2026, 1:09pm UTC](https://meta.discourse.org/t/type-group/405487/8 "2026-06-17T13:09:35Z")

</div>

Indeed not implemented so `group_list` was the correct answer, until

> [@在插件中使用 type: group](https://meta.discourse.org/t/type-group/405492/2):
>
> This was indeed the case, I’ve just merged the addition in: Let me know if this works as expected for you.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 17, 2026, 1:10pm UTC](https://meta.discourse.org/t/type-group/405487/9 "2026-07-17T13:10:06Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
