10 references to EditContext
Aspire.Dashboard.Components.Tests (3)
Dialogs\InteractionsInputDialogTests.cs (3)
200
Assert.Equal(2, cut.FindComponent<EditForm>().Instance.
EditContext
!.GetValidationMessages().Count());
538
var editContext = cut.FindComponent<EditForm>().Instance.
EditContext
!;
595
Assert.Equal("Choose another color.", Assert.Single(cut.FindComponent<EditForm>().Instance.
EditContext
!.GetValidationMessages()));
Microsoft.AspNetCore.Components.Web (7)
Forms\EditForm.cs (7)
11
/// Renders a form element that cascades an <see cref="
EditContext
"/> to descendants.
61
/// a value for <see cref="
EditContext
"/>.
80
/// <see cref="
EditContext
"/> is determined to be valid.
86
/// <see cref="
EditContext
"/> is determined to be invalid.
104
$"parameter, or an {nameof(
EditContext
)} parameter, but not both.");
109
$"parameter, or an {nameof(
EditContext
)} parameter, please provide one of these.");
191
builder.AddComponentParameter(2, nameof(FormMappingValidator.CurrentEditContext),
EditContext
);