Cannot assign to read only property 'children' of object '#<Object>'
See original GitHub issueI’m getting the following error just setting up the sample inside my application…
import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table';
render(){
var products = [
{
id: 1,
name: "Product1",
price: 120
},{
id: 2,
name: "Product2",
price: 80
},{
id: 3,
name: "Product3",
price: 207
},{
id: 4,
name: "Product4",
price: 100
},{
id: 5,
name: "Product5",
price: 150
},{
id: 6,
name: "Product1",
price: 160
}
];
return (
<div className="box box-blue">
<div className="box-body">
<BootstrapTable data={products}>
<TableHeaderColumn isKey={true} dataField="id">Product ID</TableHeaderColumn>
</BootstrapTable>
...
I am using the latest React so not sure if that is part of the issue ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Uncaught TypeError: Cannot assign to read only property '' of ...
The solution is to pass an empty object to Object.assign(). By doing this, you're telling the method to produce a NEW object with...
Read more >Cannot assign to read only property of Object in TypeScript
The TypeScript error "Cannot assign to read only property of object" occurs when we try to change a property of a frozen object...
Read more >Cannot assign to read only property 'children' of object ...
Hello! I wanted to let you know about an issue we ran into in one of our projects that was using next-boost. Lots...
Read more >TypeError: "x" is read-only - JavaScript - MDN Web Docs
The JavaScript strict mode-only exception "is read-only" occurs when a global variable or object property that was assigned to is a read-only property....
Read more >Zoom SDK Cannot assign to read only property 'video' of ...
Dear , i got this Error “Cannot assign to read only property 'video' of object '[object Object]” any one can help Plz :slight_smile:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hi all, fixes on
v2.2.0
@trivektor, yes!