Skip to content

Commit c4f7f9c

Browse files
MudDebouncedInputExtended: Sync the MudDebouncedInput debounce implementations to fix the current issues (#623)
* Initial * Add some debounce tests (from MudBlazor) * Add DebounceDispatcher tests (From MudBlazor) * Revert the Mud's version
1 parent c85f29a commit c4f7f9c

12 files changed

Lines changed: 1939 additions & 100 deletions

File tree

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

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

docs/CodeBeam.MudBlazor.Extensions.Docs/CodeBeam.MudBlazor.Extensions.Docs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="10.0.*" />
17-
<PackageReference Include="MudBlazor" Version="9.0.0" />
17+
<PackageReference Include="MudBlazor" Version="9.3.0" />
1818
</ItemGroup>
1919

2020
<ItemGroup>

src/CodeBeam.MudBlazor.Extensions/Base/MudBaseInputExtended.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,17 @@ protected MudBaseInputExtended()
9494
/// </summary>
9595
[Parameter]
9696
[Category(CategoryTypes.FormComponent.Behavior)]
97-
public bool DisablePaste { get; set; }
97+
public bool DisablePaste { get; set; } = false;
98+
99+
/// <summary>
100+
/// Override to read Value from ParameterState instead of backing field.
101+
/// </summary>
102+
protected internal new T? ReadValue => base.ReadValue;
103+
104+
/// <summary>
105+
/// Override to write Value to ParameterState instead of backing field.
106+
/// </summary>
107+
protected internal new string? ReadText => base.ReadText;
98108

99109
/// <summary>
100110
/// Invokes logic to be executed before input is processed, including raising the BeforeInput event if a

0 commit comments

Comments
 (0)