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