menu

SwitchField

Show code
@using System.ComponentModel.DataAnnotations

<SwitchField @bind-Value="simpleInputTextValue">
    A little bit of description of the toggle.
</SwitchField>

@code {
    [Display(Name = "Simple input text")]
    private bool simpleInputTextValue {get;set;} = false;
}
An unhandled error has occurred.