ValidateCells doesn't work with angular Subject and matDialog as expected

Tags: #<Tag:0x00007efc64510f60> #<Tag:0x00007efc64510e20>

Hello, I have issue with handsontable validation using subject and matDialog.
image


I want to call ValidateCells and pass this value to subject, then subscribe on this subject and handle errors. The problem is when I open matDialog, it opens 2 times and I cant close it.
I couldn’t find out why it happens because debugger freezes with no errors. hotInstance also exists at this moment and validation is correct. Hook afterValidate also doesnt help.
On the other side, it works perfect if I wrap validateCells in promise.then((res) => subject.next(res)).
image

Hi @nata22011997

Thank you for contacting us. To examine the issue we will need to have a code example where the problem can be replicated. Please prepare one so we can check what is the cause of the issue.

Hi @nata22011997

I need to close this ticket, as it has been two weeks without any response.

If the issue is still replicable, please create a new thread or contact us at support@handsontable.com.