Dropdown preselection fails for objects with null values #820
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I have an object with some null properties on it that I am trying to use to preselect an item from a dropdown. This issue is that domhandler.equals() always returns false for an object with null properties. For example if I have 2 objects that look like this:
{name:'Name', exceptionMessage: null, id:0}
domhandler.equals is going to return false because of the exceptionMessage field. This happens because typeof null === object and the switch for object recursively calls domhandler.equals which always returns false for any null value.
The text was updated successfully, but these errors were encountered: