1 write to Context
Microsoft.AspNetCore.Components.Web (1)
Forms\InputRadio.cs (1)
51
Context
= string.IsNullOrEmpty(Name) ? CascadedContext : CascadedContext?.FindContextInAncestors(Name);
8 references to Context
Microsoft.AspNetCore.Components.Web (8)
Forms\InputRadio.cs (8)
53
if (
Context
== null)
63
Debug.Assert(
Context
!= null);
68
var clientValidationAttributes =
Context
.ClientValidationAttributes;
69
Context
.ClientValidationAttributes = null;
74
builder.AddAttributeIfNotNullOrEmpty(3, "class", AttributeUtilities.CombineClassNames(AdditionalAttributes,
Context
.FieldClass));
76
builder.AddAttribute(5, "name",
Context
.GroupName);
78
builder.AddAttribute(7, "checked",
Context
.CurrentValue?.Equals(Value) == true ? GetToggledTrueValue() : null);
79
builder.AddAttribute(8, "onchange",
Context
.ChangeEventCallback);