# Smart Field Change Display Widget Fails

**URL:** https://community.forestadmin.com/t/smart-field-change-display-widget-fails/1235
**Category:** Help me!
**Created:** [October 29, 2020, 11:15am UTC](https://community.forestadmin.com/t/smart-field-change-display-widget-fails/1235 "2020-10-29T11:15:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Yoad\_Snapir](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/yoad_snapir/32/101_2.png) [@Yoad\_Snapir](https://community.forestadmin.com/u/Yoad_Snapir)
#### Post date: [October 29, 2020, 11:15am UTC](https://community.forestadmin.com/t/smart-field-change-display-widget-fails/1235/1 "2020-10-29T11:15:39Z")

</div>

Hi,  
Attempting to change the type of the widget of a String Smart Field from “Input Text” to “Text Area”.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/f957ea7313200c90e44ae1bed26296e47ea66776.png)  
Then:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/5b121b75f52ec08343de13094cb887399673ced9.png)  
And finally:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/eb83d06dd9c48353037a1d486ab417b5f3562b3a.png)

## Expected behavior

The widget type should change.

## Actual behavior

An error message is displayed and the widget type does not change.  
Call stack image:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/124c09b9428c753072dd20ef9a07405e78460440.png)

## Failure Logs

This is the API response to the layout call:

```javascript
{"errors":[{"status":422,"detail":"Not-supported patch: {op:'replace',path:'/collections/CreatorAccount/layout/fields/Seller Terms/widgetEdit'}","meta":{}}]}

```

Maybe it’s the space in the field name?

---

<div class="post-metadata">

### Author: ![Yoad\_Snapir](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/yoad_snapir/32/101_2.png) [@Yoad\_Snapir](https://community.forestadmin.com/u/Yoad_Snapir)
#### Post date: [October 29, 2020, 11:21am UTC](https://community.forestadmin.com/t/smart-field-change-display-widget-fails/1235/2 "2020-10-29T11:21:10Z")

</div>

I confirm it’s the space in the field name.  
Changing the space to an underscore when defining the Smart Field works.

![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/1X/27e2d2c29ef0db34ca77b6b2d9b4601ac5051845.png)

As a workaround this is reasonable - but prob. needs fixing since it’s used to work before the revamp to the Edit Field Layout screen.

---

<div class="post-metadata">

### Author: ![Guillaume\_Cisco](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/guillaume_cisco/32/918_2.png) [@Guillaume\_Cisco](https://community.forestadmin.com/u/Guillaume_Cisco)
#### Post date: [October 29, 2020, 1:56pm UTC](https://community.forestadmin.com/t/smart-field-change-display-widget-fails/1235/3 "2020-10-29T13:56:52Z")

</div>

Hello @Yoad_Snapir,

Thank you for your report, it helps a lot!  
I confirm you the issue, I have been able to reproduce it.  
Our team will be notified and the fix will come very soon 🙂

https://share.clickup.com/t/h/9pxfnf/8D5SXRX5FCVAG3H
