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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EJS Dialog -- Dialog not hiding

Thread ID:





146690 Aug 14,2019 09:24 AM UTC Aug 14,2019 12:36 PM UTC Angular - EJ 2 1
Tags: Dialog
Web Developer1
Asked On August 14, 2019 09:24 AM UTC

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

Pandiyaraj Muniyandi [Syncfusion]
Replied On 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 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon