I'm posting my question here, I'm not sure if it's the right place for this.
import marimo as mo
import pandas as pd
df = pd.DataFrame({"A": [1, 2, 3], "B": ["a", "b", "c"]})
editor = mo.ui.data_editor(data=df, label="Edit Data")
dict_tabs = {
"tab1": editor,
"tab2": "test"
}
tabs = mo.ui.tabs(
tabs=dict_tabs,
)
tabs
But when I'm editing the data_editor and then switch the tab, the values I edited just disappear.