Call base class parameter set method

This commit is contained in:
Thorsten Sommer 2025-08-15 20:27:24 +02:00
parent 58524ac84c
commit 8de5921217
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -71,7 +71,7 @@ public partial class DebouncedTextField : MudComponentBase
await base.OnInitializedAsync();
}
protected override void OnParametersSet()
protected override async Task OnParametersSetAsync()
{
// Only sync when the parent's parameter actually changed since the last change:
if (this.Text != this.lastParameterText)
@ -82,6 +82,8 @@ public partial class DebouncedTextField : MudComponentBase
this.debounceTimer.Stop();
this.debounceTimer.Start();
}
await base.OnParametersSetAsync();
}
#endregion