# Ghost Binding - Perspective

**URL:** <https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [June 16, 2022, 4:54pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842 "2022-06-16T16:54:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [June 16, 2022, 4:54pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/1 "2022-06-16T16:54:55Z")

</div>

This happened in table.

At first I had a binding inside an item inside column prop.  
Then, without removing the binding inside that item, I create a binding at column that is return `[]`.  
Finally I removed the binding at column prop and the result is that blue flag showing there is a binding in the prop. That is not true since a don’t longer have it, in fact there is not any item inside.

How to solve this?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/6/166fe2a895b21f9c455fa8163fed65919f65c239.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2022, 5:11pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/2 "2022-06-16T17:11:28Z")

</div>

Shift + right click the view and you can ‘Copy JSON’ - you can see if there’s anything unusual in the `propConfig` section.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [June 16, 2022, 9:22pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/3 "2022-06-16T21:22:42Z")

</div>

yup, it shows something while there nothing is showing in the designer.

```auto
 "meta": {
          "name": "table"
        },
        "position": {
          "basis": "300px",
          "grow": 1
        },
        "propConfig": {
          "props.columns[10].dateFormat": {
            "binding": {
              "config": {
                "path": "session.custom.locale.date"
              },
              "type": "property"
            }
          },
          "props.columns[11].dateFormat": {
            "binding": {
              "config": {
                "path": "session.custom.locale.date"
              },
              "type": "property"
            }
          },

```

col 10 and 11.

UPDATE:  
Adding elements to the array until reaching the original size, restored the bindings automatically 🤔 Good, I think.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 16, 2022, 9:28pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/4 "2022-06-16T21:28:30Z")

</div>

Probably the easiest fix would be to remove both of those entries under `propConfig`, then shift → right click and paste the JSON to replace the existing content.

Doesn’t explain how you got into that state in the first place, but 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 16, 2022, 9:29pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/5 "2022-06-16T21:29:08Z")

</div>

What happens if you add an array item manually and then delete it? that’s what I do when weird things like this happen and I _think_ it fixes it

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [June 16, 2022, 9:33pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/6 "2022-06-16T21:33:39Z")

</div>

No, if you delete the item the binding gets removed.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 16, 2022, 9:35pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/7 "2022-06-16T21:35:32Z")

</div>

Right, but placing a binding on a child element and then placing a binding on a parent of that child which removes the child based on the return would result in an orphaned binding. Once the parent binding returns a child at the expected address the binding should once again be in place and working.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [June 16, 2022, 9:42pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/8 "2022-06-16T21:42:44Z")

</div>

Thanks for explaining.  
In this case, the orphaned binding persisted even after the parent lose its binding as well.  
I will make sure to remove bindings at child before altering the parent.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 16, 2022, 9:46pm UTC](https://forum.inductiveautomation.com/t/ghost-binding-perspective/60842/9 "2022-06-16T21:46:11Z")

</div>

Correct, because the binding still exists in the propConfig, waiting for the child at the addressed property to return.
