Set the Read-only TextBox in Blazor TextBox Component

4 Nov 20251 minute to read

Set the TextBox to read-only to prevent editing while still allowing focus and selection. This can be achieved using the Readonly property.

@using Syncfusion.Blazor.Inputs

<SfTextBox Placeholder='First Name' Readonly=true></SfTextBox>

Blazor TextBox in Readonly Mode