From ac84c8346729a21e0b2fdc882ed8b2f68a9de404 Mon Sep 17 00:00:00 2001 From: Marcus Date: Mon, 14 Oct 2024 07:43:37 +0100 Subject: [PATCH] Made MudSelectExtended IsOpen flag public (#469) * Made MudSelectExtended IsOpen flag public * Reverted changes to isOpen, making it internal again and isntead added a public method to return it's value * Removed xml summary as field is no longer public --- .../Components/SelectExtended/MudSelectExtended.razor.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CodeBeam.MudBlazor.Extensions/Components/SelectExtended/MudSelectExtended.razor.cs b/CodeBeam.MudBlazor.Extensions/Components/SelectExtended/MudSelectExtended.razor.cs index 0924aca..984a028 100644 --- a/CodeBeam.MudBlazor.Extensions/Components/SelectExtended/MudSelectExtended.razor.cs +++ b/CodeBeam.MudBlazor.Extensions/Components/SelectExtended/MudSelectExtended.razor.cs @@ -1305,5 +1305,14 @@ protected async Task ChipClosed(MudChip? chip) SelectedValues = SelectedValues.Where(x => x?.Equals(chip.Value) == false); await SelectedValuesChanged.InvokeAsync(SelectedValues); } + + /// + /// returns the value of the internal property _isOpen + /// + /// + public bool GetOpenState() + { + return _isOpen; + } } }