-
Notifications
You must be signed in to change notification settings - Fork 48
List subscription doesn't emit new value when updating a list #65
Comments
I'm facing the same problem. Did you solve it? |
Actually, I've tried a (poor) workaround that worked, which was removing the element and setting it again with new values, like this (using the same use case above):
I've also tried multi path updates, which would be better (but still poor), like this:
But it didn't work (same symptom, updates the data, but don't refresh the view). It only worked after using setTimeout when setting the new values. Of course that this is not a good approach, cause you always have to set the entire entity, but it's the only way I got what I wanted. Well, I'm waiting for @adriancarriger to know whether this is really a bug, or I'm missing something. |
I had the same problem. I needed a quick fix so I've added a small function which adds and then removes a dummy object from the list. I call it after each update:
Then in the view I use the search pipe to not display this object. |
I'm facing this too. More info: |
For me, it occurs even when I'm online. |
Hi, I don't know if I'm missing something, but I'm facing problems when subscribing to a list.
Every thing works fine when adding or removing items from a list, but when I update something inside the list, the subscription doesn't emit a new value.
This is an example code:
And the template:
When I click Add or Remove, the list is updated correctly, but when i click Update, the value of first item is not updated to "another value", until I reload the page.
If I run the same code, but using AngularFireDatabase, it works as expected.
Thanks in advance!
The text was updated successfully, but these errors were encountered: