How to suppress/disable "deeply nested key returned undefined" warning #4788
Replies: 4 comments 3 replies
-
DO you have any work around for this? |
Beta Was this translation helpful? Give feedback.
-
This is also an issue for us. Our tables have placeholder logic to show a dash in the event that a given row value is |
Beta Was this translation helpful? Give feedback.
-
bump! i also think this warning should be configurable , it is super annoying.I implemented a custom accessorFn too |
Beta Was this translation helpful? Give feedback.
-
What's the point of showing the warning? Just handle it the same way as null. For example, we show a list of orders along with their supplier's name. Some orders don't have a supplier so "supplier.name" is undefined. I don't find any value in the warning. |
Beta Was this translation helpful? Give feedback.
-
Hello!
This seems to be a rather simple question but no idea how to solve it. From our backend, some values can return "undefined", I do handle this case in the table so nothing breaks.
Being fully aware of this issue, I'd like to remove the warning from the console as it obstructs other messages. Is there any way to do so? I have no ways to change the values from the backend to return null instead.
I've tried to look for the issue and the only thing I found is that this used to log an error instead of a warning and decision has been made to keep the warning.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions