# Data\_editor every second update is reverted

**URL:** <https://discuss.streamlit.io/t/data-editor-every-second-update-is-reverted/85585>\
**Category:** Using Streamlit\
**Tags:** bug, data\_editor, discussion\
**Created:** [November 13, 2024, 6:53pm UTC](https://discuss.streamlit.io/t/data-editor-every-second-update-is-reverted/85585 "2024-11-13T18:53:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kar](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/kar/32/52159_2.png) [@Kar](https://discuss.streamlit.io/u/Kar)\
**Post date:** [November 13, 2024, 6:53pm UTC](https://discuss.streamlit.io/t/data-editor-every-second-update-is-reverted/85585/1 "2024-11-13T18:53:50Z")

</div>

Hi All,

I have a data editor where I have properly added the data using session state and data updates are happening correctly.

However I am facing an issue with the data editor itself.

Every second update in the data editor is getting reverted.

Example - When I change value in the first cell it works but when I change valie in next cell it reverts back to what it was earlier. i have to make the update again.  
This issue happens on every alternate update.

This does not happen when I put the data editor inside form but I don’t want to use a form as I dont want a submit button.

---

<div class="post-metadata">

**Author:** ![Encrypt](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/encrypt/32/52088_2.png) [@Encrypt](https://discuss.streamlit.io/u/Encrypt)\
**Post date:** [November 14, 2024, 9:39am UTC](https://discuss.streamlit.io/t/data-editor-every-second-update-is-reverted/85585/2 "2024-11-14T09:39:35Z")

</div>

Please show your code snippet so we can find any potential bugs.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [May 13, 2025, 9:39am UTC](https://discuss.streamlit.io/t/data-editor-every-second-update-is-reverted/85585/3 "2025-05-13T09:39:38Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
