1 write to EditContext
Microsoft.AspNetCore.Components.Web (1)
Forms\InputBase.cs (1)
243EditContext = CascadedEditContext;
17 references to EditContext
Microsoft.AspNetCore.Components.Web (16)
Forms\InputBase.cs (15)
98EditContext?.NotifyFieldChanged(FieldIdentifier); 137if (EditContext is not null) 139_parsingValidationMessages ??= new ValidationMessageStore(EditContext); 143EditContext.NotifyFieldChanged(FieldIdentifier); 150EditContext?.NotifyValidationStateChanged(); 191var fieldClass = EditContext?.FieldCssClass(FieldIdentifier); 244EditContext.OnValidationStateChanged += _validationStateChangedHandler; 245_shouldGenerateFieldNames = EditContext.ShouldUseFieldIdentifiers; 256else if (CascadedEditContext != EditContext) 282if (EditContext is null) 288if (EditContext.GetValidationMessages(FieldIdentifier).Any()) 292var attemptedValue = EditContext.GetAttemptedValue(NameAttributeValue); 372if (EditContext is not null) 374EditContext.OnValidationStateChanged -= _validationStateChangedHandler; 381EditContext!.NotifyValidationStateChanged(); // when _parsingValidationMessages is not null, EditContext is also not null.
Forms\InputRadioGroup.cs (1)
65_context.FieldClass = EditContext?.FieldCssClass(FieldIdentifier);
Microsoft.AspNetCore.Components.Web.Tests (1)
Forms\InputBaseTest.cs (1)
556public new EditContext EditContext => base.EditContext;