Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

9
Votes

Need to add styling support based on validation results into component wrapper

currently we have given the styling support to the textbox component based on validation results using below logic. so, need to consider as source level. 


logic 

 public void TestPropertyBlurEvent(FocusOutEventArgs args)

    {

        if (!editContext.Validate())

        {

            cssClass = "e-error";

        }

        else

        {

            cssClass = "e-success";

        }

        StateHasChanged();

    }