Skip to content

Commit c6570f8

Browse files
committed
BaseInputClass Inheritance & Parameter State Implementation
1 parent 0d9a651 commit c6570f8

File tree

24 files changed

+420
-1383
lines changed

24 files changed

+420
-1383
lines changed

CodeBeam.MudBlazor.Extensions.Docs.Wasm/wwwroot/CodeBeam.MudBlazor.Extensions.xml

Lines changed: 23 additions & 359 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CodeBeam.MudBlazor.Extensions.UnitTests/Components/ChipFieldTests.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
using MudExtensions.Docs.Examples;
1+
using Bunit;
22
using FluentAssertions;
3-
using Bunit;
43
using Microsoft.AspNetCore.Components;
54
using Microsoft.AspNetCore.Components.Web;
5+
using MudBlazor.Extensions;
6+
using MudExtensions.Docs.Examples;
67

78
namespace MudExtensions.UnitTests.Components
89
{
@@ -20,7 +21,7 @@ public async Task ChipFieldBasicTest()
2021
field.Find("input").Input(new ChangeEventArgs() { Value = "sdfg" });
2122
await comp.InvokeAsync(() => comp.Instance.HandleKeyDown(new KeyboardEventArgs() { Key = " " }));
2223
comp.Instance.Values.Should().BeEquivalentTo(new List<string> { "asdf", "asd", "sdfg" });
23-
comp.Instance.Value.Should().BeEquivalentTo(null);
24+
comp.Instance.GetState(x => x.Value).Should().BeEquivalentTo(null);
2425
}
2526
}
2627
}

CodeBeam.MudBlazor.Extensions.UnitTests/Components/ComboboxTests.cs

Lines changed: 43 additions & 42 deletions
Large diffs are not rendered by default.

CodeBeam.MudBlazor.Extensions.UnitTests/Components/SelectExtendedTests.cs

Lines changed: 111 additions & 110 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)