# Choice Component Issue with Miracle Method

**URL:** <https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447>\
**Category:** Ask for Help\
**Created:** [October 29, 2024, 3:25pm UTC](https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447 "2024-10-29T15:25:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewis\_Parker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lewis_parker/32/91147_2.png) [@Lewis\_Parker](https://community.glideapps.com/u/Lewis_Parker)\
**Post date:** [October 29, 2024, 3:25pm UTC](https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447/1 "2024-10-29T15:25:09Z")

</div>

Hello, Im trying to create a choice component based on the miracle method (which has a helper table, in my case upto 40 rows)  
However the choice component (im using radio buttons)  
Shows all rows, I have a problem where multiple items in the choice have the same value so it removes the dupes. Therefore I use a new Value column which includes the Array number as well as the original value

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a5ac4a2067e8a47c5199198886b727d1b56573f8.png)

But i still suffer with the above. Any thoughts?

---

<div class="post-metadata">

**Author:** ![Lewis\_Parker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/lewis_parker/32/91147_2.png) [@Lewis\_Parker](https://community.glideapps.com/u/Lewis_Parker)\
**Post date:** [October 29, 2024, 3:29pm UTC](https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447/2 "2024-10-29T15:29:15Z")

</div>

To add, this does work if i use the json which is just the item name. But i also need to inform the user of the price. Which is the number at the end

---

<div class="post-metadata">

**Author:** ![Marc-Olivier](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@Marc-Olivier](https://community.glideapps.com/u/Marc-Olivier)\
**Post date:** [October 29, 2024, 3:54pm UTC](https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447/3 "2024-10-29T15:54:38Z")

</div>

Hi @Lewis_Parker

First you can filter your choice component list to remove the displays as that are empty.  
Then If you want to keep your dupes in the choice list, best practice is to refer the value to a unique key like a row id column and set the display as to the right column.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [October 29, 2024, 4:55pm UTC](https://community.glideapps.com/t/choice-component-issue-with-miracle-method/77447/4 "2024-10-29T16:55:04Z")

</div>

> [@Marc-Olivier](#):
>
> filter your choice component list to remove the displays as that are empty.  
> Then If you want to keep your dupes in the choice list, best practice is to refer the value to a unique key like a row id column

Beat me to it! These 2 suggestions are best practice.
