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
Describe the bug
On a call, a user reported an error where updating a field in an object in a collection from a background task, did not reflect the changes in the frontend until the collection was reassigned self.files = self.files.
I tried to reproduce this issue with a minimal example and was not successful, it worked as expected for me. More investigation is needed.
Expected behavior
Clicking the button should take the first user with status == 1, set it to 2, wait five seconds, then set it to 3. In the UI, if the user's status is 2, then it should show a loading spinner.
Specifics (please complete the following information):
masenf
changed the title
[Unconfirmed] Updating a field in an object in a collection of rx.Base models does not send delta
[REF-2887] [Unconfirmed] Updating a field in an object in a collection of rx.Base models does not send delta
May 21, 2024
I am seeing a similar issue with reflex 0.5.2: whether I use a list of strings or a list of dictionaries, when I change the state variable from my background task, the change does not show up when using forEach, like:
Describe the bug
On a call, a user reported an error where updating a field in an object in a collection from a background task, did not reflect the changes in the frontend until the collection was reassigned
self.files = self.files
.I tried to reproduce this issue with a minimal example and was not successful, it worked as expected for me. More investigation is needed.
To Reproduce
Expected behavior
Clicking the button should take the first user with status == 1, set it to 2, wait five seconds, then set it to 3. In the UI, if the user's status is 2, then it should show a loading spinner.
Specifics (please complete the following information):
REF-2887
The text was updated successfully, but these errors were encountered: