

<MudTextField T="string" 
              ValueChanged="async answer => { Answer = answer; await AnswerChanged.InvokeAsync(Answer); }"
              Label="@Question" 
              Value="@Answer" 
              Variant="Variant.Outlined" />

@code {

    [Parameter]
    public string Answer { get; set; } = string.Empty;

    [Parameter]
    public EventCallback<string> AnswerChanged { get; set; }

    [Parameter]
    public string Question { get; set; } = string.Empty;

}
