# Any Component block

**URL:** <https://community.thunkable.com/t/any-component-block/1110021>\
**Category:** Questions about Thunkable X\
**Tags:** question\
**Created:** [February 19, 2021, 3:51pm UTC](https://community.thunkable.com/t/any-component-block/1110021 "2021-02-19T15:51:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [February 19, 2021, 3:51pm UTC](https://community.thunkable.com/t/any-component-block/1110021/1 "2021-02-19T15:51:55Z")

</div>

Hi All,

this is about any component block that i use for my app.

how to avoid duplicate emoji as screen shoot below.?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/5/45b37f21155b9b575954564b3cd01375b25d118d.png)

what i want for one label only can use 1 emoji at same time.

Here is my block  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/c/6c7cb82631800876e30c09a59922dd8e4840eaf9.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 19, 2021, 5:50pm UTC](https://community.thunkable.com/t/any-component-block/1110021/2 "2021-02-19T17:50:09Z")

</div>

You are joining the new emoji with the label’s text. So if the text already has an emoji, you’re going to have two.

You need to join the new emoji with the **source** of the label’s text. What is the source of the label’s text? Did you type the label text in? Are you using a data source for that?

If you typed the text in, then you’ll have to use the substring block and join the new emoji with the substring from letter #2 to the last letter of the label’s text:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/6/46fcb4dd02afb1e98f5314b5ae1991dd4eae5792.png)

This will only work is there is _already_ an emoji. So you’ll have to check for that by using the “in text get letter #1” block.

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [February 23, 2021, 3:12pm UTC](https://community.thunkable.com/t/any-component-block/1110021/3 "2021-02-23T15:12:27Z")

</div>

Tatiang,

thank you for your advice. if i can understand source here it refer to list of something? i am not sure if my understand wrong about source. for my case label it refer to list i created and i populated in list viewer. let me provide full block so you can understand what i am doing.

screen1

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/c/3c9fb544dbc641b244a1c7afece6970e2a11d1ad.png)

screen2

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/8/d8c8d2421702d21bc3639e60851a58f52b513ee7.png)

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [February 26, 2021, 5:15pm UTC](https://community.thunkable.com/t/any-component-block/1110021/4 "2021-02-26T17:15:54Z")

</div>

it able to add emoji mark and unmark but this time label i click it become some kind of id. any idea how to solve the issue?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/7/274549efa1974251632f4f3e8ff40bc402ee39de.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/c/2cd584af4c70c6be2f598ec630acafcfaccfb343.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 27, 2021, 5:37pm UTC](https://community.thunkable.com/t/any-component-block/1110021/5 "2021-02-27T17:37:57Z")

</div>

The green “component” block has the ID of the label, which is a long string of characters (as seen in your screenshot).

---

<div class="post-metadata">

**Author:** ![ozel1978](https://avatars.discourse-cdn.com/v4/letter/o/3ec8ea/32.png) [@ozel1978](https://community.thunkable.com/u/ozel1978)\
**Post date:** [February 28, 2021, 6:53am UTC](https://community.thunkable.com/t/any-component-block/1110021/6 "2021-02-28T06:53:23Z")

</div>

so how do i overcome the issue? mark and unmark issue is resolved but now component i click it turn label id.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/any-component-block/1110021/7 "2024-11-08T13:29:20Z")

</div>


