# Tester for custom renderer dropdown

**URL:** <https://jsonforms.discourse.group/t/tester-for-custom-renderer-dropdown/975>\
**Category:** General\
**Created:** [August 25, 2022, 4:05pm UTC](https://jsonforms.discourse.group/t/tester-for-custom-renderer-dropdown/975 "2022-08-25T16:05:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustKyle](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@JustKyle](https://jsonforms.discourse.group/u/JustKyle)\
**Post date:** [August 25, 2022, 4:05pm UTC](https://jsonforms.discourse.group/t/tester-for-custom-renderer-dropdown/975/1 "2022-08-25T16:05:20Z")

</div>

Hi, I am having a hard time trying to build a tester for a custom render.

Auto generated UISchema

I tried this but it doesn’t seem to be the right way. Any suggestions?  
I dont get any errors and the UI simply returns a sting input field

```auto
export default rankWith(
   3,
   and(schemaTypeIs('string'), schemaMatches(schema => schema.hasOwnProperty('enum')))
);

```

my schema looks like this

```auto
...,
status: {
   description: "Case status"
   enum: ['CLOSED', 'REOPEN']
   example: "REOPEN"
   type: "string"
}

```

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [August 31, 2022, 4:03pm UTC](https://jsonforms.discourse.group/t/tester-for-custom-renderer-dropdown/975/2 "2022-08-31T16:03:24Z")

</div>

Hi @JustKyle,

your tester looks fine. Can you also show the renderer code and how you register the renderer?

---

<div class="post-metadata">

**Author:** ![JustKyle](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@JustKyle](https://jsonforms.discourse.group/u/JustKyle)\
**Post date:** [August 31, 2022, 4:06pm UTC](https://jsonforms.discourse.group/t/tester-for-custom-renderer-dropdown/975/3 "2022-08-31T16:06:12Z")

</div>

Hi Stefan, turns out was it was just the ranking that was causing it to not render, increasing it from 3 to 10 solved the issue.
