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