You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And then when used on the view using the following code:
<inputx-model="search" type="text" placeholder="Search users"><ul><templatex-for="contact in filteredContacts"><lix-text="contact.name"></li></template></ul>
It seems that filteredContacts is always stuck with the initial value and doesn't update dynamically. Is there a way to fix this, or maybe I'm missing something?
The text was updated successfully, but these errors were encountered:
Hi there, I have a problem using the getter method. It seems that the getter method doesn't work in class components.
To be clear, I have the following components:
And then when used on the view using the following code:
It seems that
filteredContacts
is always stuck with the initial value and doesn't update dynamically. Is there a way to fix this, or maybe I'm missing something?The text was updated successfully, but these errors were encountered: