Persistence failed in component type props
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
dash 2.16.1
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table 5.0.0
The sample code:
import dash
from dash import html, dcc
app = dash.Dash()
app.layout = html.Div(
[
dcc.Checklist(
[
{
"label": dcc.Input(
id=f"input-{value}", persistence=True, style={"width": 100}
),
"value": value,
}
for value in list("abc")
],
labelStyle={"display": "flex", "align-items": "center"},
)
],
style={"padding": 50},
)
if __name__ == "__main__":
app.run(debug=True)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the provided Python sample with the listed Dash, dash-core-components, dash-html-components, and dash-table versions. Reproduce the checklist behavior and inspect whether the persisted dcc.Input values survive the component update shown in the demo. Done means persistence works for inputs used as checklist labels, with a regression test covering the sample case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100