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

Dialog closes when an input is clicked

Thread ID:

Created:

Updated:

Platform:

Replies:

148390 Oct 17,2019 02:14 PM UTC Oct 18,2019 11:31 AM UTC Blazor 1
loading
Tags: Dialog
Fabrizio Alessandro
Asked On October 17, 2019 02:14 PM UTC

Hello, 
I'm using Blazor Dialog control with Syncfusion checkboxes and other input controls in it. As soon as I interact with a control and change its value, the ejsDialog closes (ex. clicking on the checkbox the dialog closes).

How can I prevent this from happening? The dialog should close when the user clicks a save button or when uses one of the close buttons.

Thank you.

Pandiyaraj Muniyandi [Syncfusion]
Replied On October 18, 2019 11:31 AM UTC

Hi Fabrizio, 
 
Greetings from Syncfusion support. 
 
We have tried to replicate the issue with the mentioned use-case scenario in the following ways, but we were unable to reproduce the issue at our end. 
  • The Visible property of Dialog and Checked property of Checkbox configured without “@bind” prefix (the properties has two-way binding capabilities).
  • Inputs and checkboxes placed inside the form element of Dialog
 
We have prepared sample for your reference with these above requirements and download it from below link 
 
Can you please provide the replication procedure with sample or modify the above sample to reproduce your issue and revert it to us. This will help us provide a solution at earliest. Could you please confirm whether you are using latest NuGet version of Syncfusion Blazor components? 
 
Regards, 
Pandiyaraj 


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