Textbox Border Not Removing After Losing Focus

When I click on a textbox I correctly get the border displaying but then when I click on another textbox, the border from the first textbox remains, whereas it should disappear after losing focus.

I have tried this in old versions and it works up until version 20.  I have attached a screenshot below.  Has anyone else had or can advise if I am doing something wrong?


Screenshot 2024-11-25 at 15.06.23.png


1 Reply

YS Yohapuja Selvakumaran Syncfusion Team December 3, 2024 06:28 AM UTC

Hi Robert,

Thank you for reaching out to us.


We have validated the reported issue, and we would like to inform you that the error class being added to the TextBox component when validation fails is the default behavior of the component. This is intended to visually indicate invalid inputs and enhance user experience during form validation.


To illustrate this behavior, we have created a sample where validation is performed upon a button click. You can check out the sample using the link below:


Sample:
https://blazorplayground.syncfusion.com/VjhzMrXghLUjIhpd


If you require further clarification or assistance, we kindly request you to share the following details:

  • The code snippet of the TextBox component implementation.

  • The validation logic being used in your application.

This information will help us investigate the issue more effectively and provide you with an accurate solution tailored to your specific scenario.


We look forward to your response and are happy to assist further



Regards,

Yohapuja  S


Loader.
Up arrow icon