namespace Lux.UI.Components.Pages { public partial class ConfList { #region Protected Properties protected string SearchVal { get => searchVal; set { isLoading = true; searchVal = value; isLoading = false; } } #endregion Protected Properties #if false protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender) { await Task.Delay(500); isLoading = false; await InvokeAsync(StateHasChanged); } } #endif #region Protected Methods protected void ResetSearch() { SearchVal = ""; } #endregion Protected Methods #region Private Fields private bool isLoading = false; private string searchVal = ""; #endregion Private Fields } }