As a side note, not related to the previous problem, the dialog html is not removed from the DOM when the Component is disposed. After showing many dialogs the number of elements in the body keep increasing. Is the control in preview that has so many bugs?
ISIndrajith Srinivasan Syncfusion Team January 6, 2020 07:44 AM
Currently, we validating the reported issue, will update further details shortly.
ISIndrajith Srinivasan Syncfusion Team January 6, 2020 12:09 PM
Greetings from Syncfusion support
Query 1: Conditionally adding dialog buttons doesn't work properly
We have validated the reported scenario. The previously rendered buttons are maintained when rendering it based on conditional approach. As well as few dialog elements are still persist after the component is disposed. We consider both issues as bug in our end. We will include the fix in weekly patch release which is planned to roll-out on 14th January.
You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link:
Query 2: Is the control in preview that has so many bugs?
The component moved from preview to final in last 2019 Volume 4 release.
PMPandiyaraj Muniyandi Syncfusion Team January 17, 2020 12:23 AM
Sorry for the inconvenience caused.
We could not include the fix with our last weekly patch release due to complexity on resolving the reported issue from our end. We will resolve and include the fix in our 2019 Volume 4 SP1 release, which is expected to roll-out on end of January.
ISIndrajith Srinivasan Syncfusion Team January 31, 2020 12:29 PM
We are glad to announce that our Essential Studio Volume 4, 2019 service pack release (v184.108.40.206) is rolled out and is available for download under the following link. And the fix for “Dynamic render of dialog buttons” is included. We could not include the fix for “Dialog html is not removed from the DOM when the Component is disposed” with our Volume 4 SP 1 release due to complexity on resolving the reported issue from our end. We will resolve and include the fix in our upcoming patch release scheduled to roll-out on 5th February.
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
ISIndrajith Srinivasan Syncfusion Team February 5, 2020 01:45 PM
Thanks for your patience,
We have resolved the issue with “Dialog html is not removed from the DOM when the Component is disposed” and the fix is now available with the patch release version 17.4.47. Could you please upgrade your package to this version to resolve the issue from your end.