TypeError: The `dash_html_components.Div` component (version 1.0.2) with the ID "Div(Graph(id='XXX'))" detected a Component for a prop other than `children`
Did you forget to wrap multiple `children` in an array?
Prop id has value Div(Graph(id='XXX'))
心好痛,感觉自己不具备调试能力
出这个错,比如说上一级是html.Div,如果子组件>=2,则需要用列表框起来;
也就是:html.Div([A, B])
原答地址:https://community.plot.ly/t/dcc-datepickerrange-error/35124