1 write to Context
Microsoft.AspNetCore.Components.Web (1)
Forms\InputRadio.cs (1)
51Context = string.IsNullOrEmpty(Name) ? CascadedContext : CascadedContext?.FindContextInAncestors(Name);
6 references to Context
Microsoft.AspNetCore.Components.Web (6)
Forms\InputRadio.cs (6)
53if (Context == null) 63Debug.Assert(Context != null); 67builder.AddAttributeIfNotNullOrEmpty(2, "class", AttributeUtilities.CombineClassNames(AdditionalAttributes, Context.FieldClass)); 69builder.AddAttribute(4, "name", Context.GroupName); 71builder.AddAttribute(6, "checked", Context.CurrentValue?.Equals(Value) == true ? GetToggledTrueValue() : null); 72builder.AddAttribute(7, "onchange", Context.ChangeEventCallback);