We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

EJS Dialog -- Dialog not hiding

Hi SF Team,

I'm using EJS ver. 17.1.47. In Dialog template, the property "visible='false'" not working. The dialog is still visible.
Moreover, I set visible = true, and on page load, I'm calling .hide() method. The dialog is still visible.

Please check at your end and provide resolution ASAP.

Thanks n Regards
Vishal Rana

1 Reply

PM Pandiyaraj Muniyandi Syncfusion Team August 14, 2019 12:36 PM UTC

Hi Vishal Rana, 
Greetings from Syncfusion support. 
In Angular, every html attribute value always be a string, so you need to wrap visible property by square brackets
For more details read below link: https://stackoverflow.com/a/45147450 
Sample code: 
<ejs-dialog #template [visible]='false'></ejs-dialog> 
We have prepared stackblitz sample for your reference, check below mentioned link 
If you still facing any issues, kindly revert to us. 
Pandiyaraj M 

Live Chat Icon For mobile
Up arrow icon