react-pivottable icon indicating copy to clipboard operation
react-pivottable copied to clipboard

missing attrValues in DraggableAttribute

Open drheinheim opened this issue 8 years ago • 3 comments

I get the following warning in the browser console (Linux Chrome, fwiw): Warning: Failed prop type: The prop `attrValues` is marked as required in `DraggableAttribute`, but its value is `undefined`. in DraggableAttribute (created by PivotTableUI)

However, there is no apparent unexpected behavior, as far as I can tell. This could be something wrong on my part, but I don't see anything related in the docs.

p.s. Thanks a million for this component! I was using the jQuery version, but on the whole find this more appealing for the real-time data discovery aspect... And glad to see Plotly supporting it.

drheinheim avatar Dec 18 '17 03:12 drheinheim

I'm glad you like this component! I'll try to track down the warning and suppress it, as it shouldn't be happening... thanks for the bug report!

nicolaskruchten avatar Dec 25 '17 17:12 nicolaskruchten

Fyi, I'm not getting this anymore. It's always hard to know if I made a small error in input data or if there's an actual bug.

drheinheim avatar Jan 02 '18 18:01 drheinheim

This seems to happen when you have a DraggableAttribute for some attribute that is not present in your data. E.g., when grouping on an attribute that is not present. Note that you can easily create such situation programatically, but the UI doesn't allow it, so I'm not sure if it is actually supposed to work.

steventebrinke avatar May 11 '18 15:05 steventebrinke