Clear validation messages on rowselect

Hello
I'm using SFgrid to display a list on the left and on the right I have a form that display details data that are editable
I am using fluentvalidation
EC = new EditContext(payment);
base.OnInitializedAsync();

The validation works but  if i raise an error and change the row the message are still displayed

Is there a way to clear the messages ?

Upfront thanks

3 Replies 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team April 1, 2021 06:49 AM UTC

Hi Mehdi, 

Greetings from Syncfusion support. 

We have checked your query and we would like to inform you that the grid validation will work based on the Microsoft Blazor EditForm behavior. So once the validation message is shown then it will be again validated based on the form submit or when you focus out of that particular field. Please refer the below documentation of Microsoft on validation. 


Regards, 
Jeevakanth SP. 


Marked as answer

ME Mehdi April 3, 2021 09:44 AM UTC

Ok thank you


JP Jeevakanth Palaniappan Syncfusion Team April 5, 2021 04:22 AM UTC

Hi Mehdi, 

Thanks for the update. Please get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 


Loader.
Up arrow icon