Application fail in IE when you change the operator for Date type in querybuilder

Hi Team,

I am implementing datetimepicker in querybuuilder and found a bug that my application fails when i am try to do this.

steps to reproduce the bug:

1. Select lastlogindate from fields dropdown  which is of type date. and this populates value field with current date and empty operator field.
2. when you choose operator you can able to successfully get the rule.
3. Next when you clear the value field by keeping it empty.
4. After that try to change the operator field which will result in Application failure.

Error:  Unable to get property 'classList' of undefined or null reference

Note: This error occurs only in InternetExplorer.

There are screenshots below for your reference.

This also can be reproduce in the sample provided by your team.

https://stackblitz.com/edit/mj2wjz?file=index.ts





This works fine


This fails , keep value empty then change the operator




Thanks,
Maaz


Loader.
Up arrow icon