# How to get updated function value into my view

**URL:** https://discourse.aurelia.io/t/how-to-get-updated-function-value-into-my-view/4056
**Category:** Framework Knowledge
**Created:** [February 22, 2021, 3:34pm UTC](https://discourse.aurelia.io/t/how-to-get-updated-function-value-into-my-view/4056 "2021-02-22T15:34:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GiulioJJ](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/giuliojj/32/2003_2.png) [@GiulioJJ](https://discourse.aurelia.io/u/GiulioJJ)
#### Post date: [February 22, 2021, 3:34pm UTC](https://discourse.aurelia.io/t/how-to-get-updated-function-value-into-my-view/4056/1 "2021-02-22T15:34:58Z")

</div>

Hi everyone,  
I’m a newbie with Aurelia Framework. Thanks in advance for your help.

This is my problem:  
I have an array FILTERS in my view model.

I would call the value of his first object in my view and I tried two ways:  
1-Call it directly with string interpolation:

2- Call it through a function:

In the second case the value is loaded only once at the beginning and then is not updated anymore if I change it manually from an Input linked to it, for example.  
In the first case it worked properly.

 ![Capture](https://canada1.discourse-cdn.com/flex027/uploads/aurelia/original/2X/7/79fd1c983afd90592829719d19b26eb7b31671d9.jpeg)

Why did this happened?
