[HxInputTags] Support for a custom RenderFragment for a tag
It would be nice to support in HxInputTags a callback for customized tag representation.
For example, in the control when a user enters a tag
Do you want the tag (badge) content to be customizable or the whole tag representation?
The first is quite easy to implement, but more restrictive.
The second requires TagTemplateContext.RemoveTagAsync() to be exposed for implementing the Remove button on the tag (badge).
(This feature request is currently not on top of the list of our priorities and will be probably parked in backlog. If you feel urge for such feature, feel free to submit a pull-request. Your sponsorship might help prioritize such feature as well.)
hi @hakenr,
only customization for tag badgehttps://github.com/havit/Havit.Blazor/blob/96f345b5915175946f3a8e89e86367d428ec6467/Havit.Blazor.Components.Web.Bootstrap/Tags/Internal/HxInputTagsInternal.razor#L26
something like
[Parameter]
public RenderFragment<string>? TagBadgeTemplate { get; set; }