# Issue with type supervisor "category"

**URL:** <https://meta.discourse.org/t/issue-with-type-supervisor-category/140379>\
**Category:** Development\
**Created:** [February 1, 2020, 9:03pm UTC](https://meta.discourse.org/t/issue-with-type-supervisor-category/140379 "2020-02-01T21:03:22Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

[syl](/t/-/140379/1) reports an issue with a plugin where the `category` type setting works locally but fails to display the combo box in a remote Docker instance, while `category_list` functions correctly. [sam](/t/-/140379/2) advises holding off on debugging, noting that [selectkit 2](https://github.com/discourse/discourse/blob/master/spec/components/site_settings/type_supervisor_spec.rb#L70) is nearly complete and re-implements much of this functionality. He recommends waiting a week to retest with the new version.

<div class="post-metadata">

**Author:** ![syl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/syl/32/98883_2.png) [@syl](https://meta.discourse.org/u/syl)\
**Post date:** [February 1, 2020, 9:03pm UTC](https://meta.discourse.org/t/issue-with-type-supervisor-category/140379/1 "2020-02-01T21:03:22Z")

</div>

I’m facing a strange issue in my plugin. I’ve set my settings like this:

```plaintext
  discpage_page_categories:
    refresh: true
    client: true
    type: category_list
    default: ""
  discpage_balloon_category:
    refresh: true
    client: true
    type: category
    default: ""

```

Type `category_list` works as expected.  
Type [category](https://github.com/discourse/discourse/blob/master/spec/components/site_settings/type_supervisor_spec.rb#L70) works like a charm in my local dev instance:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/4/e48ec17139a6af6be383ea107beb4b737e889c20.png)

but it doesn’t work in my remote docker instance (the combo box is not displayed):

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/8/18c51500fb6e1dbcf85def8c6c5a6c0aac980945.png)

There’s no error in the console. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [February 3, 2020, 4:16am UTC](https://meta.discourse.org/t/issue-with-type-supervisor-category/140379/2 "2020-02-03T04:16:46Z")

</div>

@j.jaffeux is almost done merging in selectkit 2 which re-implements much of this. Recommend you hold off a week and retest with selectkit 2.
