File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## [ Unreleased]
6+ ### Fixed
7+ - [ #1778 ] ( https://github.com/plotly/dash/pull/1778 ) Fix React warnings stating
8+ that each child in a list should have a unique "key" prop
9+
510## [ 4.12.0] - 2021-07-09
611### Fixed
712- [ #907 ] ( https://github.com/plotly/dash-table/pull/907 )
Original file line number Diff line number Diff line change 55 </ head >
66 < body >
77 < div id ='root '> </ div >
8- < script src ='https://unpkg.com/react@17.0.1 /umd/react.production.min .js '> </ script >
9- < script src ='https://unpkg.com/react-dom@17.0.1 /umd/react-dom.production.min .js '> </ script >
8+ < script src ='https://unpkg.com/react@16.14.0 /umd/react.development .js '> </ script >
9+ < script src ='https://unpkg.com/react-dom@16.14.0 /umd/react-dom.development .js '> </ script >
1010
1111 < script src ="./demo.js "> </ script >
1212 </ body >
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ function getter(
283283 ) ;
284284
285285 return (
286- < div >
286+ < div key = { columnIndex } >
287287 { ! column_selectable || ! selectable ? null : (
288288 < span className = 'column-header--select' >
289289 < input
Original file line number Diff line number Diff line change @@ -127,3 +127,18 @@ def test_head004_change_single_row_header(test):
127127
128128 assert target .column ("rows" ).get_text (0 ) == "Chill"
129129 assert test .get_log_errors () == []
130+
131+
132+ def test_head005_no_warnings_emitted (test ):
133+ test .start_server (
134+ get_app (dict (merge_duplicate_headers = True )),
135+ debug = True ,
136+ use_reloader = False ,
137+ use_debugger = True ,
138+ dev_tools_hot_reload = False ,
139+ )
140+
141+ target = test .table ("table" )
142+
143+ wait .until (lambda : target .column (6 ).get ().get_attribute ("colspan" ) == "4" , 3 )
144+ assert test .get_logs () == []
You can’t perform that action at this time.
0 commit comments