[React] IxDateDropdown null pointer after switching to custom range and back #1555
Open
2 tasks done
Labels
type: bug
Something isn't working
Workflow: Issue created
JIRA issue is created and will be analyzed
Prerequisites
What happened?
When using the IxDateDropdown, there is some kind of null pointer exception when you do the following:
This raises
In production this will just log an error to the console, but in development this error will break the app due to the error message.
This not only happens when clicking the drop down button itself, but also when clicking outside the drop down.
Looks like there is some null check missing in the drop down controller.
Current workaround I'm using: unique
key
prop on the IxDateDropdown which consists of all dynamically provided props. So the Dropdown is unmounted and re-mounted whenever it's props change.What type of frontend framework are you seeing the problem on?
React
Which version of iX do you use?
v2.5.0
Code to produce this issue.
The text was updated successfully, but these errors were encountered: