-
Notifications
You must be signed in to change notification settings - Fork 461
Closed
Labels
triageNew issue. Needs to be looked atNew issue. Needs to be looked at
Description
🐛 Bug Report
FluentCounterBadge completely ignores AdditionalAttributes
💻 Repro or Code Sample
var cut = TestContext.RenderComponent<FluentCounterBadge>(parameters =>
{
parameters.Add(p => p.Count, 1);
parameters.Add(p => p.AdditionalAttributes, new Dictionary<string, object>
{
{ "data-test", "test" },
});
});
verify that markup does not contain data-test
🤔 Expected Behavior
The attributes should be placed on the outermost div.
😯 Current Behavior
💁 Possible Solution
🔦 Context
🌍 Your Environment
- OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
- Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
- .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]
Metadata
Metadata
Assignees
Labels
triageNew issue. Needs to be looked atNew issue. Needs to be looked at