# Action button doesn't work

**URL:** <https://community.forestadmin.com/t/action-button-doesnt-work/3723>\
**Category:** Help me!\
**Created:** [November 16, 2021, 10:26am UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723 "2021-11-16T10:26:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 10:26am UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/1 "2021-11-16T10:26:29Z")

</div>

Hi everyone!  
Action buttons doesn`t work.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/e/ed9e7cc71fbee6de3a2a4d177f0b6d9de2027aaa.png)

## Expected behavior

Action button works and I can change fields.

## Actual behavior

Action buttons are not active.

## Failure Logs

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3e7f47cd410faa57e01dd9b14ca69b5dc3e3bb31.png)

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 16, 2021, 10:48am UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/2 "2021-11-16T10:48:58Z")

</div>

Hello @a.cherkashchenko. 👋 Welcome to our community. 🎊

I’m try to summarize, you are on a detailed view of a record and you try to use the Actions that leads to the error, is that correct ?

I have a few questions

- Do you have Smart Actions ([actions that you have added manually](https://docs.forestadmin.com/documentation/reference-guide/actions/create-and-manage-smart-actions)) available for this record ?
- Do you experience it on all actions ? (For example from the collection view ?)

I tried to reproduce but not able to have the same comportement. Looking at your logs I think the problem might be in one of the widget you use to display record information. Do you use an **Array** widget to display informations ?

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 4:08pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/3 "2021-11-16T16:08:00Z")

</div>

Hi, @morganperre!  
Yes, we have.  
We have this problem when doc has array.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/0/07caeef24acc366d110caf5d16f66461fa96358b.png)

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 16, 2021, 4:21pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/4 "2021-11-16T16:21:46Z")

</div>

Hey again,

I’m not sure how I can reproduce the issue but it looks like we have an issue with the **Array widget**.

- Is this happening with all your records from this collection ?

I think the issue happen when the widget don’t get the right information (I suppose that your record has not the right data when displaying Array), but it should not freeze the front.

I will open an issue on our side. We will come back to you once released.

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 4:29pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/5 "2021-11-16T16:29:29Z")

</div>

This happens with all records, in all collections, if there is an array in json. Thanks a lot

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 4:38pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/6 "2021-11-16T16:38:11Z")

</div>

@morganperre Can u provide correct data model for this entity?

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 16, 2021, 5:14pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/7 "2021-11-16T17:14:00Z")

</div>

Hello again,

The stack trace you have provided seems not related to Actions button but to the Array widget. A crash on this widget could have lead to a frozen browser.

Can you try to change the widget on the buggy field ? Then tell me if the Actions work ?

Can you launch the action from the collection list view (by checking one record then click on `Actions`)?

> [@a.cherkashchenko](#):
>
> @morganperre Can u provide correct data model for this entity?

I don’t understand ? What do you want me to provide ?

> [@a.cherkashchenko](#):
>
> is an array in json.

Do you mean a nested properties that is an array ?

Last question, when you’re on the list view did you see all expected column ?

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 5:40pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/8 "2021-11-16T17:40:04Z")

</div>

@morganperre can`t change the widget. Don`t know why.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/6/66729c769a953455b6eeb9a41b5ff59a796b166e.png)  
I can launch the action from the collection list view  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/1/1c4d773d913f41a76d4184a158fb23792984d1b2.png)  
How should the record look like correctly?  
Now we have record : ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/d4ff43588bc1ca9f501765ed7ae6ef81bcf8959c.png)  
We don`t have all expected column:

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 16, 2021, 5:40pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/9 "2021-11-16T17:40:34Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/a/acf2473ea1f8215b889153d895894a2585152022.png)

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 17, 2021, 10:23am UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/10 "2021-11-17T10:23:37Z")

</div>

Thanks for all the feedback @a.cherkashchenko ! 🙏

We are still trying to reproduce. I keep you updated as soon as possible.

Kind regards,  
Morgan

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 17, 2021, 1:38pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/11 "2021-11-17T13:38:53Z")

</div>

Hey @a.cherkashchenko,

We released a new version of our front application.

You should now be able to use the smart actions and the array should display correctly !

Let me know if it solves your issue. 🙏

Here is the link to the related issue.

> **[ClickUp](https://sharing.clickup.com/t/h/1kr4rup/KBPJASPQAL7U6H6)**

---

<div class="post-metadata">

**Author:** ![a.cherkashchenko](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@a.cherkashchenko](https://community.forestadmin.com/u/a.cherkashchenko)\
**Post date:** [November 17, 2021, 1:46pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/12 "2021-11-17T13:46:25Z")

</div>

@morganperre Thanks! You`re my Hero!

---

<div class="post-metadata">

**Author:** ![morganperre](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/morganperre/32/1296_2.png) [@morganperre](https://community.forestadmin.com/u/morganperre)\
**Post date:** [November 17, 2021, 4:16pm UTC](https://community.forestadmin.com/t/action-button-doesnt-work/3723/13 "2021-11-17T16:16:05Z")

</div>

You’re welcome. 🙏

Glad to provide a quick fix.
