I want to return a string ‘Train In Progress…’ to a html.Div, which previously has a dashTable as children, but I got an error as below and the callback seems to return a mix of both the string ‘Train In Progress…’ and the previous dashTable to the html.Div. Did anyone ever get similar problem or give me some instructions? Thanks!
Error:
An object was provided as children
instead of a component, string, or number (or list of those). Check the children property that looks something like:
{
“0”: “T”,
“1”: “r”,
“2”: “a”,
“3”: “i”,
“4”: “n”,
“5”: " ",
“6”: “I”,
“7”: “n”,
“8”: " ",
“9”: “P”,
“10”: “r”,
“11”: “o”,
“12”: “g”,
“13”: “r”,
“14”: “e”,
“15”: “s”,
“16”: “s”,
“17”: “.”,
“18”: “.”,
“19”: “.”,
“props”: {
“children”: [
null,
{
“props”: {
“children”: {
“props”: {
“children”: {
“props”: {
“derived_filter_structure”: null,
“derived_virtual_data”: [
{
“EventTitle”: “north sea - upsc - firefighting equipment rfp”,
“CommodityName”: “m r o”,
“ItemTitle”: “10035571”,
“SupplierName”: “hawkes fire”
},
{
“EventTitle”: “north sea - upsc - firefighting equipment rfp”,
“CommodityName”: “m r o”,
“ItemTitle”: “82ac5023”,
“SupplierName”: “chubb”
}
],
“derived_virtual_indices”: [
0,
1
],
“derived_virtual_row_ids”: [
null,
null
],
“derived_viewport_data”: [
{
“EventTitle”: “north sea - upsc - firefighting equipment rfp”,
“CommodityName”: “m r o”,
“ItemTitle”: “10035571”,
“SupplierName”: “hawkes fire”
},
{
“EventTitle”: “north sea - upsc - firefighting equipment rfp”,
“CommodityName”: “m r o”,
“ItemTitle”: “82ac5023”,
“SupplierName”: “chubb”
}
],
“derived_viewport_indices”: [
0,
1
],
“derived_viewport_row_ids”: [
null,
null
],
“derived_virtual_selected_rows”: ,
“derived_virtual_selected_row_ids”: ,
“derived_viewport_selected_rows”: ,
“derived_viewport_selected_row_ids”:
}
}
}
}
}
}
]
}
}