protected override async Task OnAfterRenderAsync(bool firstRender) { if (firstRender || isInitialized) { isInitialized = true; await TablerService.SetElementProperty(element, "indeterminate", !Value.HasValue); } }
protected override async Task OnAfterRenderAsync(bool firstRender) { await base.OnAfterRenderAsync(firstRender); if (!isInitialized) { await BlurContainer.FocusAsync(); if (ModalModel.Options.Draggable) { await TablerService.SetElementProperty(dragContainer, "draggable", true); await TablerService.DisableDraggable(dragContainer, contentContainer); } isInitialized = true; } }