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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Items disabled Toolbar accepting click

Thread ID:

Created:

Updated:

Platform:

Replies:

147068 Aug 30,2019 03:32 PM UTC Oct 11,2019 08:55 AM UTC Angular - EJ 2 2
loading
Tags: Toolbar
Adriano Nascimento
Asked On August 30, 2019 03:32 PM UTC

Hello everyone,

I have a doubt about the behavior of the toolbar that even with the item disabled the click event is still triggered.
follows an sample project.

Attachment: jbjv5v.run_8974c5c4.zip

Vengatesh Maniraj [Syncfusion]
Replied On September 4, 2019 10:34 AM UTC

Hi Adriano, 
 
Syncfusion Greetings. 
 
We have reproduced your reported scenario and logged the bug task. The fix will be included in any of our upcoming release. And also you can track the status of this issue in below link. 
 

Kindly be patience until then. 

Regards, 
Vengatesh  


Karthigeyan Krishnamurthi [Syncfusion]
Replied On October 11, 2019 08:55 AM UTC

 
This issue can be fixed at sample side by disabling the parent node like below. 
 
document.getElementById('submit').onclick = () => { 
      toolbar.enableItems((document.getElementById('home').parentNode) as HTMLElement, false); 
    }; 
 
Regards, 
Karthi 
 


CONFIRMATION

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