Need to disabel submit when using a barcode reader

When using the barcode scanner I have on a SfTextBox the form is submited. Is there a way to keep this from happen. Here is the code I am trying to use the barcode on. The SfTextBox is the one for the code.





1 Reply

SK Subathra Kaliamoorthy Syncfusion Team June 24, 2024 04:04 PM UTC

Hi Tom,


Greetings from Syncfusion Support!


To help you with preventing form submission when using the barcode scanner with an SfTextBox, we need more details about your setup and code. Could you please share the details below that can help clarify the situation. 

  • How is the barcode scanner integrated into your application? Whether it's Syncfusion Barcode scanner or others?
  • Are you handling any specific events for the SfTextBox? If so, could you provide the relevant code snippets?
  • How is the form submission triggered in your application? Is it via a button click or pressing Enter, or some other method?
  • Could you provide a minimal code example that reproduces the issue?

This will help in understanding the context and providing a precise solution.


Regards,

Subathra K


Loader.
Up arrow icon