# Layout editing error: "placeholder" is not allowed

**URL:** <https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334>\
**Category:** Help me!\
**Created:** [October 5, 2022, 12:28am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334 "2022-10-05T00:28:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chloe](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chloe/32/5172_2.png) [@Chloe](https://community.forestadmin.com/u/Chloe)\
**Post date:** [October 5, 2022, 12:28am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/1 "2022-10-05T00:28:36Z")

</div>

## Feature(s) impacted

Cannot show a dropdown list when adding record to a table.

## Observed behavior

Try to update a model field edit widget to “Dropdown” and “Dynamic Simple” values from another collection. Got following error:

```javascript
... update failed: Invalid patch value (path: "/collections/.../layout/fields/de2b2777-7c9a-11eb-82eb-2b1c56cbcbc6/widgetEdit", op: "replace", value: {"name":"dropdown","parameters":{"dynamic":{"simple":{"actOnCollectionId":"anotherCollection","filter":null,"actOnFieldName":"primaryKey"}},"isSearchable":false,"placeholder":null}}): ValidationError: child "parameters" fails because ["placeholder" is not allowed]

```

## Expected behavior

No error.

## Context

- Project name: MTMO Admin
- Team name: Operations
- Environment name: new-QA

---

<div class="post-metadata">

**Author:** ![shohanr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shohanr/32/4999_2.png) [@shohanr](https://community.forestadmin.com/u/shohanr)\
**Post date:** [October 5, 2022, 6:48am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/2 "2022-10-05T06:48:22Z")

</div>

Hi @Chloe ,

Sorry for the inconvenience.  
We are working on a fix right now.

I will keep you updated when it is fixed.

Shohan

---

<div class="post-metadata">

**Author:** ![shohanr](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/shohanr/32/4999_2.png) [@shohanr](https://community.forestadmin.com/u/shohanr)\
**Post date:** [October 5, 2022, 7:08am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/3 "2022-10-05T07:08:40Z")

</div>

The issue has been fixed.  
It should be available any time soon.

Shohan

---

<div class="post-metadata">

**Author:** ![Chloe](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chloe/32/5172_2.png) [@Chloe](https://community.forestadmin.com/u/Chloe)\
**Post date:** [October 6, 2022, 12:39am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/4 "2022-10-06T00:39:23Z")

</div>

Thanks @shohanr. I can now edit the layout correctly.

---

<div class="post-metadata">

**Author:** ![Chloe](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/chloe/32/5172_2.png) [@Chloe](https://community.forestadmin.com/u/Chloe)\
**Post date:** [October 6, 2022, 1:28am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/5 "2022-10-06T01:28:31Z")

</div>

@shohanr there’s another error I got when visit a hasMany relationship field in record Details.

## Feature(s) impacted

Cannot show hasMany relationship field.

## Observed behavior

We have a sender model and an account\_sender model. The latter belongs to sender (one-to-many relationship). When I visit the account\_sender field in sender record `Details` tab and there’s no account\_sender under it, it works correctly. But when there are account\_senders belonging to the sender, I got following error in console:

```javascript
Error: Expected id to be a string or number, received null

```

and the UI is like:

 ![Screen Shot 2022-10-06 at 12.24.30 pm](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/d/d74d5f66b16ac97af285a799b5848c6df91a6a5a.png)

account\_sender has no `id` column in the table.

## Expected behavior

No error. Show a list of account\_senders.

## Context

- Project name: MTMO Admin
- Team name: Operations
- Environment name: new-QA

---

<div class="post-metadata">

**Author:** ![Florian\_Gonzales](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/florian_gonzales/32/5541_2.png) [@Florian\_Gonzales](https://community.forestadmin.com/u/Florian_Gonzales)\
**Post date:** [October 6, 2022, 9:02am UTC](https://community.forestadmin.com/t/layout-editing-error-placeholder-is-not-allowed/5334/6 "2022-10-06T09:02:35Z")

</div>

Hello @Chloe,

Thanks for your feedback! This problem you are experiencing is different from the original topic of this thread, can you create a new thread on this topic please? This helps us to keep the forum clear if other users encounter the same problem as you. 🙏

Kind regards,

Florian
