-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
P1needed for current cycleneeded for current cyclebugsomething brokensomething brokenregressionthis used to workthis used to work
Description
Describe your context
pip list | grep dash
:
dash 3.0.1
dash_auth 2.3.0
dash-bootstrap-components 2.0.1
dash-core-components 2.0.0
dash_daq 0.6.0
dash-extensions 2.0.4
dash-html-components 2.0.0
dash-iconify 0.1.2
dash-leaflet 1.1.3
dash_mantine_components 0.15.3
dash-quill 0.0.4
dash-svg 0.0.12
dash-table 5.0.0
-
if frontend related, tell us your Browser, Version and OS
- OS: Ubuntu 24 and Windows 11
- Browser Firefox & Chrome
- Version N.A.
Describe the bug
After updating from dash 3.0.1 to 3.0.2 or higher, I experience a problem that my geojson from a dynamic dash leaflet control is empty. This is the dynamic control:
markers_with_edit = dl.FeatureGroup(id={"type": "dynamic_feature", "index": random.randint(3, 9999)}, # noqa: S311
children=[
*markers,
dl.EditControl(
id={"type": "dynamic_edit", "index": -3},
draw={
"marker": single_section_selected,
"circlemarker": False,
"circle": False,
"polygon": False,
"polyline": False,
"rectangle": False
},
edit={"edit": True, "remove": True}
),
dl.EasyButton(id={"type": "dynamic_redraw_button", "index": -4}, icon="fa-retweet", title="Redraw")
])
And it is read via this input:
Input({"type": "dynamic_edit", "index": ALL}, "geojson"),
Expected behavior
In my case it should contain some 50 markers, and it does in 3.0.1, but no longer after upgrading
Metadata
Metadata
Assignees
Labels
P1needed for current cycleneeded for current cyclebugsomething brokensomething brokenregressionthis used to workthis used to work
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
[-][BUG][/-][+][BUG] dynamic controls go empty in 3.02[/+]