-
Notifications
You must be signed in to change notification settings - Fork 8
Description
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
actionMenuPropsof typeobjectsupplied toForwardRef(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 ofForwardRef(DataTable). See https://fb.me/react-warning-keys for more information.
I believe this is because of this:
<RadioGroup
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 ofForwardRef(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.