public override void Init(TagHelperContext context) { base.Init(context); FormContext = context.GetFormContext(); FormGroupContext = context.GetFormGroupContext(); if (FormGroupContext != null) FormGroupContext.HasLabel = true; context.SetLabelContext(this); SrOnly = SrOnly ?? FormContext?.LabelsSrOnly; }