You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Visual Studio Enterprise 2022 (x64) Version 17.12.5.
Please note that I had previously opened an issue #9397 related to the ParentTag.
I have the below tag helper classes:
/// <summary>
/// This is a container
/// </summary>
[HtmlTargetElement("container")]
public class ContainerTagHelper : TagHelper
{
public override void Process(TagHelperContext context, TagHelperOutput output)
{
}
}
/// <summary>
/// This is a header
/// </summary>
[HtmlTargetElement("header", ParentTag = "container")]
public class ContainerHeaderTagHelper : TagHelper
{
public string Attribute { get; set; }
public override void Process(TagHelperContext context, TagHelperOutput output)
{
}
}
Hi,
I am using Visual Studio Enterprise 2022 (x64) Version 17.12.5.
Please note that I had previously opened an issue #9397 related to the ParentTag.
I have the below tag helper classes:
The razor page syntax:
When starting to input the attribute name (Ex: 'attr'), no list is displayed with all the available properties for ContainerHeaderTagHelper.
Please note that once you manually input the name 'attribute', the property is immediately recognized as a property.
The text was updated successfully, but these errors were encountered: