12 references to AdditionalAttributes
Microsoft.AspNetCore.Components.Web.Tests (12)
Forms\InputBaseTest.cs (12)
385
Assert.Null(component.
AdditionalAttributes
);
396
Assert.NotNull(component.
AdditionalAttributes
);
397
Assert.True(component.
AdditionalAttributes
.ContainsKey("aria-invalid"));
453
Assert.NotNull(component.
AdditionalAttributes
);
454
Assert.Single(component.
AdditionalAttributes
);
456
Assert.Equal("true", component.
AdditionalAttributes
["aria-invalid"]);
488
Assert.NotNull(component.
AdditionalAttributes
);
489
Assert.Single(component.
AdditionalAttributes
);
490
Assert.Equal("userSpecifiedValue", component.
AdditionalAttributes
["aria-invalid"]);
516
Assert.NotNull(component.
AdditionalAttributes
);
517
Assert.True(component.
AdditionalAttributes
.ContainsKey("aria-invalid"));
527
Assert.Null(component.
AdditionalAttributes
);