# Value of property before binding is executed in perspective

**URL:** <https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 31, 2024, 1:36pm UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977 "2024-07-31T13:36:20Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [August 2, 2024, 12:49pm UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977/21 "2024-08-02T12:49:34Z")

</div>

There shouldn't be any delay.  
It seems to me that there's something somewhere that's slowing down the evaluation of your bindings, or whatever you're computing is taking too long.  
I believe you already ruled out high computing time, so I'd start trying to figure out what's wrong.  
I suggest you get a local copy (use docker) of the gateway, or at least the project, and try there if things are still slow.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [August 2, 2024, 1:26pm UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977/22 "2024-08-02T13:26:24Z")

</div>

I guess you missed thus part:

> [@lrose](#):
>
> At the start-up for every non-persistent binding the value will be null.

You’re not going to beat that.

Again, why? Why does the button need to be disabled? Just have the button always produce the previous date from today. This seems to me like you’re making something more complicated than it needs to be. But then you also haven’t explain what your try to accomplish that you need a button to “select” the previous date.

---

<div class="post-metadata">

**Author:** ![Ryan\_Allen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan_allen/32/47013_2.png) [@Ryan\_Allen](https://forum.inductiveautomation.com/u/Ryan_Allen)\
**Post date:** [August 6, 2024, 7:37pm UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977/23 "2024-08-06T19:37:42Z")

</div>

I've noticed this as well, even the Perspective demo from IA shows this issue:

[https://demo.inductiveautomation.com/data/perspective/client/OnlineDemo/feature/realtime/components](https://demo.inductiveautomation.com/data/perspective/client/OnlineDemo/feature/realtime/components)

The text in the "checkbox" square takes a split second to change from "text" to "false" and in the "Buttons" section "Off" is selected prior to immediately switching to "Auto."

Through the assistance of people in this forum, I ended up adding an @keyframes rule and tied that to the root of all appropriate views.

This goes in the Perspective stylesheet.css:

```python
@keyframes view-ease-in {
  0% {
   opacity: 0;
  }
  10% {
   opacity: 0;
  }
  20% {
   opacity: 0.05;
  }
  40% {
   opacity: 0.5;
  }
  50% {
   opacity: 1;
  }
}

```

and the root of the view has this animation style:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/1/01f35d8e47fd709af265a064a181940323efe420.png)

This makes it transition into the view while things settle down and initiate so it at least looks cleaner in my opinion.

---

<div class="post-metadata">

**Author:** ![Mehdi\_MECHEDAL](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mehdi\_MECHEDAL](https://forum.inductiveautomation.com/u/Mehdi_MECHEDAL)\
**Post date:** [August 12, 2024, 12:48pm UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977/24 "2024-08-12T12:48:25Z")

</div>

Yes, i finished also using keyframes, it does not solve the problem but it does not appear.

---

<div class="post-metadata">

**Author:** ![shiva.jayara003](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shiva.jayara003](https://forum.inductiveautomation.com/u/shiva.jayara003)\
**Post date:** [June 10, 2026, 1:27am UTC](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977/25 "2026-06-10T01:27:04Z")

</div>

Yes, this is a bug. Ignition perspective should provide a default Value prop, that will show the default value when the component is first rendered, before the binding is evaluated. Also, if you directly modify the view.json & button.props.text = ''something", that will be shown the first time.

[Previous page](https://forum.inductiveautomation.com/t/value-of-property-before-binding-is-executed-in-perspective/93977.md?page=1)
