query builder destroy methods throws error Unable to get property 'classList' of undefined or null reference in IE

Hi Team,

When i am trying to destroy the querybuilder from the DOM after processing the request it throws error in IE but works fine in chrome.
I am using qryBldrObj.destroy(); to destroy the object.

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



Any help would be appreciated.
Thanks,
Mohammed

3 Replies

MV Madhan Venkateshan Syncfusion Team March 4, 2020 11:20 AM UTC

Hi Mohammed, 
 
Good day to you. 
 
We have checked your issue, we are not able to reproduce the issue. Could you please share the below details, 
 
1.     Please share your exact use case. 
2.     In what action you are destroying the QueryBuilder. 
3.     Please share your code snippets. If possible, please share the issue reproducible sample. 
4.     Please share the querybuilder package version. 
 
Could you please get back to us with the above details? So that we can sort out and provide you the better solution quickly. 
 
Regards, 
  Madhan V


MA MaazMohammed March 4, 2020 07:00 PM UTC

let me explain how i am trying to implement querybuilder.
1. i have created querybuilder in modal, modal has two buttons one to get rule and other for cancelling the dialog
2. On cancel i need to destroy querybuilder object which got created when i open the modal.
3. If you don't have any value in the input fields and you want to cancel the dialog which will destroy querybuilder object is resulting in an error 
     -- Unable to get property classList of undefined or null reference in IE
     However if you value in input fields the cancel button succesfully destroys the querybuilder object.

Below is the sanpshots for your reference 



     It is breaking at the line highlighted





This one successfully destroys the object on clicking cancel as input fields have value.


Note: This error occurs only in Inter Explorer.

waiting to hearing from you soon.

Thanks,
Mohammed



MV Madhan Venkateshan Syncfusion Team March 10, 2020 02:16 PM UTC

Hi Mohammed, 
 
Thanks for your update. 
 
We have checked your issue, we are able to reproduce the reported issue and the fix for the issue will be included in Volume 1 SP1 2020 release and appreciate your patience until then. You can track the same through the below feedback link 
 
 
Regards, 
Madhan V 


Loader.
Up arrow icon