TagHelperPack icon indicating copy to clipboard operation
TagHelperPack copied to clipboard

A set of useful, and possibly opinionated, Tag Helpers for ASP.NET Core

Results 17 TagHelperPack issues
Sort by recently updated
recently updated
newest added

Hello @DamianEdwards , I recently came across a situation where I needed to add a class based on a specific condition in my project. While searching, I noticed a similar...

I don't know how far in components the project is aiming. but a component that I use a lot is one to generate a [Gravatar](gravatar.com) image. If aprooved, I can...

enhancement

I recently encountered a situation where I wanted to show something if the user _doesn't_ satisfy a policy, e.g. ```cshtml

This is in reference to a .NET 6 feature known as JavaScript collocation. https://docs.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/?view=aspnetcore-6.0#load-a-script-from-an-external-javascript-file-js-collocated-with-a-component I wanted to submit a PR but noticed you are multi-targeting .NET 3.1 and .NET 4.7.1...

enhancement

Add a Tag Helper that renders markdown. Features: - [x] Support element body as markdown content - [ ] Support pointing at a source markdown file (with caching) - ~~Cache...

enhancement

Basically implement aspnet/AspNetCore#7663

enhancement

To get the goodness of compile-time null checking!

task

When no `DisplayName` or `Display(Name=` attribute present on property, would it be possible to return Humanized property name? Library: https://github.com/Humanizr/Humanizer I.e. `"DateCreated".Humanize(LetterCasing.Title) => "Date Created"`

enhancement

Something like this: ``` html ``` Some things to consider: - Translation of casing from attribute name to class name, e.g. camelCase -> kebab-case?, underscores vs. dashes in class names...

enhancement

Add support to the various template Tag Helpers for the extra parameters supported by the underlying HTML helper methods, e.g. this call https://github.com/DamianEdwards/TagHelperPack/blob/master/src/TagHelperPack/EditorForTagHelper.cs#L37 should support passing in `templateName`, `htmlFieldName`, and...

enhancement