Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1794,6 +1794,14 @@
<member name="P:Microsoft.FluentUI.AspNetCore.Components.SelectColumn`1.SortBy">
<inheritdoc />
</member>
<member name="P:Microsoft.FluentUI.AspNetCore.Components.SelectColumn`1.Comparer">
<summary>
Gets or sets the equality comparer used to determine whether two grid items are equal.
</summary>
<remarks>If not set, the default equality comparer for <typeparamref name="TGridItem"/> is used.
Setting this property allows customization of how grid items are compared for equality, which can affect
operations such as selection, filtering, or updating items in the grid.</remarks>
</member>
<member name="M:Microsoft.FluentUI.AspNetCore.Components.SelectColumn`1.ClearSelection">
<summary>
Allows to clear the selection.
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Components/List/FluentCombobox.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public override async Task SetParametersAsync(ParameterView parameters)
protected override async Task ChangeHandlerAsync(ChangeEventArgs e)
{

if (e.Value is not null && Items is not null)
if (e.Value is not null && Items is not null )
{
var value = e.Value.ToString();
var item = Items.FirstOrDefault(i => GetOptionText(i) == value);
Expand Down Expand Up @@ -171,7 +171,7 @@ protected override async Task ChangeHandlerAsync(ChangeEventArgs e)
}
else
{
return null;
return Value;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<style>#myComponent::part(listbox) { z-index: 9995 }</style>
<fluent-combobox id="xxx" position="below" blazor:oncomboboxchange="1" blazor:oncontrolinput="2" blazor:elementreference="">
<fluent-combobox id="xxx" current-value="" position="below" blazor:oncomboboxchange="1" blazor:oncontrolinput="2" blazor:elementreference="">
<fluent-option id="xxx" value="Contoso" blazor:onclick="3" aria-selected="false" blazor:elementreference="">Contoso</fluent-option>
</fluent-combobox>
</fluent-combobox>
Loading