Getting error Failed prop type: Invalid prop dataSource
of type array
supplied to Constructor
, expected object
.
#78
Labels
dataSource
of type array
supplied to Constructor
, expected object
.
#78
When trying to bind an array to igGrid's dataSource, I get the following error:
Warning: Failed prop type: Invalid prop
dataSource
of typearray
supplied toConstructor
, expectedobject
.Just to confirm this is caused by igniteui-react.js, I tried this: I manually went into node_modules/igniteui-react/igniteui-react.js and changed this (line 1195):
dataSource: React.PropTypes.object,
to this:
dataSource: React.PropTypes.array,
And the warning disappeared as expected.
Here are the package versions I'm using:
The text was updated successfully, but these errors were encountered: