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!

0
Votes

If we call the focus method on created event, the selection start will be updated as selection end i.e., the cursor will displayed at the end of the input. Please find the sample and screenshot below.


@using Syncfusion.Blazor.Inputs

<SfMaskedTextBox @ref="maskObj" Mask='000-000-0000' Created="OnCreate"></SfMaskedTextBox>


@code{

    SfMaskedTextBox maskObj;

    public async Task OnCreate()

    {       

        await maskObj.FocusAsync();

    }

}



Screenshot:



Replication procedure:


  • Run the attached Blazor App
  • We can see that the cursor position at the end of the input.