# Bug with alert block

**URL:** <https://community.thunkable.com/t/bug-with-alert-block/50500>\
**Category:** Questions about Thunkable X\
**Created:** [October 5, 2018, 8:23pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500 "2018-10-05T20:23:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Webb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/steve_webb/32/23841_2.png) [@Steve\_Webb](https://community.thunkable.com/u/Steve_Webb)\
**Post date:** [October 5, 2018, 8:23pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/1 "2018-10-05T20:23:23Z")

</div>

Playing with the Alert → Show dialog and the “wasConfirmed” block, I managed to really screw up my app. Now I’ve got like 100+ “wasConfirmed” blocks after dragging the alert → show block around. Chrome on Mac. Those are not graphic artifacts, those are actual blocks that exist that I’ll have to delete by hand now.

 ![Thunkable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/a/5a77149346a4f93d420dde4bbc4eaa95cc10b0c4.png)  
Also, how do I get the alert to actually show up?

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [October 5, 2018, 8:36pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/2 "2018-10-05T20:36:53Z")

</div>

> [@Steve\_Webb](#):
>
> Playing with the Alert -\> Show dialog and the “wasConfirmed” block, I managed to really screw up my app. Now I’ve got like 100+ “wasConfirmed” blocks after dragging the alert -\> show block around.

Sorry about that. It is a known bug which happens when you try to pull out one of the ‘with output’ blocks but don’t pull it out enough or if you try to put a pulled out one back or too near the one that it in the slot.

> [@Steve\_Webb](#):
>
> Also, how do I get the alert to actually show up?

You need to make sure that you have some text specified for the ConfirmButton property.

-Mark

---

<div class="post-metadata">

**Author:** ![Dandev972](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dandev972](https://community.thunkable.com/u/Dandev972)\
**Post date:** [April 21, 2019, 2:40am UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/3 "2019-04-21T02:40:25Z")

</div>

Hi,  
ConfirmButton don’t accept any argument …Text or anything …

Any idea ?

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [April 23, 2019, 11:45pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/4 "2019-04-23T23:45:55Z")

</div>

Can you be more explicit on what you mean? What are you expecting to see or happen that you are not seeing or is not happening? If you have an example app that you could share or a screenshot that might help!

-Mark

---

<div class="post-metadata">

**Author:** ![Dandev972](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Dandev972](https://community.thunkable.com/u/Dandev972)\
**Post date:** [April 24, 2019, 7:50pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/5 "2019-04-24T19:50:53Z")

</div>

Hi,  
thanks for replying.  
As shown in the screenshot, I can’t match “Ok” text and ConfirmButton .

And also, the Alert1 “Show” doesn’t show up; only Alert1 “ShowButtonlist” pops up, without the Ok button.

I thought this was a known issue, but didn’t find any related discussion in the forum.

I am using Chrome browser on Windows 7, 64 bit

Thanks for your help

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/7/9700dab06b75881ec6c9a65030d6e397ad67a7d4.png)

---

<div class="post-metadata">

**Author:** ![Mark](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mark/32/18133_2.png) [@Mark](https://community.thunkable.com/u/Mark)\
**Post date:** [April 24, 2019, 9:30pm UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/6 "2019-04-24T21:30:50Z")

</div>

Thanks for the clarification!

If you don’t need the text on your confirmation button to change dynamically, I would suggest just setting the `ConfirmButton Text` property in the designer rather than via blocks. I.e.

![23%20PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/1/f1726689cf465a59ec161ef6f36b9313061ad1f2.png)

If you really need to set that text dynamically via blocks then you need to set the `ConfirmButton` property to an object that has a `Text` property set to your confirmation text and a `Dangerous` property set to whether or not confirming the alert should be considered a “dangerous” operation. Here’s an example:

![51%20PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/3/93942925f891f336d684d16887e35f73d314cf81.png)

Sorry for the complexity and the fact that this is not mentioned in our documentation.

Hope this helps!

-Mark

---

<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, 11:55am UTC](https://community.thunkable.com/t/bug-with-alert-block/50500/7 "2024-11-08T11:55:16Z")

</div>


