Skip to content

Commit

Permalink
Made MudSelectExtended IsOpen flag public (#469)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
m-flex authored Oct 14, 2024
1 parent ab64f92 commit ac84c83
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1305,5 +1305,14 @@ protected async Task ChipClosed(MudChip<T>? chip)
SelectedValues = SelectedValues.Where(x => x?.Equals(chip.Value) == false);
await SelectedValuesChanged.InvokeAsync(SelectedValues);
}

/// <summary>
/// returns the value of the internal property _isOpen
/// </summary>
/// <returns></returns>
public bool GetOpenState()
{
return _isOpen;
}
}
}

0 comments on commit ac84c83

Please sign in to comment.