All the BlazorFormLayout input controls have the following common behaviours.
The controls all support validation using the Blazor EditForm validation functionality.
If you want to display validation error next to a BlazorFormLayout input control, you need to add
the attribute ValidationFor="@(() => model.PropertyName)". For example
<BsText @bind-Value="@example.Name" Label="Your name" ValidationFor="@(() => example.Name)" />Enable valid and invalid ? Enable Boostrap CSS translation?
You can also use the <ValidationSummary /> component anywhere within the EditForm.