Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing issue with storing and retrieving. #8

Open
SupreetRonad opened this issue Sep 6, 2021 · 0 comments
Open

Facing issue with storing and retrieving. #8

SupreetRonad opened this issue Sep 6, 2021 · 0 comments

Comments

@SupreetRonad
Copy link

Hey guys, So I have recently tried to use localstore to store chats locally for chatbot. The issue I'm facing is that the insertion of data is incorrect, that is, it's not behaving as expected. This is my code. For storing data,

image

And this for displaying it on screen,

image

And this is what is displayed,

image

The value gets overwritten every time I press the button, while it should have appended the new values. The debug output of the collection, (Each line is printed when I press the button.)

image

Would be great if someone could help me out in this. Thank you.

@SupreetRonad SupreetRonad changed the title Insertion of data is incorrect Facing issue with storing and retrieving. Sep 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant