Type: minor
I use DataTable on multiple routes, and it seems the warnings only occur the first time I load a table on any of these with bulk actions using a Dialog and filters offering multi-select. They don't appear on the orders table as it used neither actions nor filters.
Failed prop type: Invalid prop actionMenuProps of type object supplied to ForwardRef(DataTable), expected an array.
in ForwardRef(DataTable) (created by ProductTable)
Nope, object is correct as we might have a child componenent/label and other props, the options array is inside that object.
Warning: Each child in a list should have a unique "key" prop.
Check the render method of ForwardRef(DataTable). See https://fb.me/react-warning-keys for more information.
I believe this is because of this:
RadioGroup is the outer component and needs a key.
Warning: Each child in a list should have a unique "key" prop.
Check the render method of ForwardRef(ActionMenu). See https://fb.me/react-warning-keys for more information.
I believe this is because of this:
|
if (confirmTitle || confirmMessage) { |
ConfirmDialog is the outer component and needs a key.
Type: minor
I use DataTable on multiple routes, and it seems the warnings only occur the first time I load a table on any of these with bulk actions using a Dialog and filters offering multi-select. They don't appear on the orders table as it used neither actions nor filters.
Nope, object is correct as we might have a child componenent/label and other props, the
optionsarray is inside that object.RadioGroupis the outer component and needs a key.I believe this is because of this:
catalyst/package/src/components/ActionMenu/ActionMenu.js
Line 114 in d4102c3
ConfirmDialogis the outer component and needs a key.