# \[BUG-16056\] Style Editor removes bound boxShadow style property

**URL:** <https://forum.inductiveautomation.com/t/bug-16056-style-editor-removes-bound-boxshadow-style-property/32474>\
**Category:** Ignition Early Access\
**Created:** [February 20, 2020, 9:34pm UTC](https://forum.inductiveautomation.com/t/bug-16056-style-editor-removes-bound-boxshadow-style-property/32474 "2020-02-20T21:34:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkylep](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@dkylep](https://forum.inductiveautomation.com/u/dkylep)\
**Post date:** [February 20, 2020, 9:34pm UTC](https://forum.inductiveautomation.com/t/bug-16056-style-editor-removes-bound-boxshadow-style-property/32474/1 "2020-02-20T21:34:37Z")

</div>

Running 8.0.9  
I have a simple view with an image on it. I bound the boxShadow style property to some tags to highlight the image if necessary. In the Designer the value of the boxShadow was blank. I clicked the style editor icon to bring up the menu and clicked cancel. The boxShadow property disapeared (along with my binding code). Luckily I noticed and didn’t save it. Putting any value into the boxShadow property prevents it from being deleted. Just wanted to share…

Here’s the style  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8175db569540c3645caa85a6d3a251dc6fa31d6f.png)  
boxShadow is bound to a tag, using an expression…  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/58ff8e5a866c13574c7f80ac5da2db0c33488efa.png)  
If I open the style editor boxShadow is blank  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dd8866fa6c5d5a4098a1893da97be3b4e04143b2.png)  
and if click ‘Cancel’ in style editor…POOF… no more boxShadow ☹  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/19587a6d9cb01b9be9705128f5fdd83fdf5fe32d.png)

I don’t think a ‘Cancel’ button should do anything.

If it has to do something it should check to see if there is a binding before deleting a ‘blank’ property.

Oddly enough, if you have the style editor open and click outside the designer windows the style editor closes and preserves the blank property. For now, I’ll be clicking outside the designer instead of clicking cancel.

---

<div class="post-metadata">

**Author:** ![ayu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ayu/32/16635_2.png) [@ayu](https://forum.inductiveautomation.com/u/ayu)\
**Post date:** [February 20, 2020, 11:18pm UTC](https://forum.inductiveautomation.com/t/bug-16056-style-editor-removes-bound-boxshadow-style-property/32474/3 "2020-02-20T23:18:07Z")

</div>

Disregard my earlier comment, I was thinking about text shadow. I was able to replicate what you are seeing. I will file a ticket a keep you posted when it gets fixed.
