{Combobox] Fix loop when changing value #2538
build-core-lib.yml
on: pull_request
Build and Test Core Lib
2m 32s
Build and Deploy Demo site
3m 35s
Close Pull Request Job
0s
Annotations
2 errors and 12 warnings
Microsoft.FluentUI.AspNetCore.Components.Tests.List.FluentComboboxTests ► FluentCombobox_ClearSelection:
tests/Core/FluentAssert.cs#L113
Failed test found in:
TestResults/runneradmin_fv-az980-876_2025-02-04_19_54_33.trx
Error:
Bunit.HtmlEqualException : HTML comparison failed.
The following errors were found:
1: The value of the attribute fluent-combobox(3)[current-value] and actual attribute fluent-combobox(2)[current-value] are different.
2: The value of the attribute fluent-combobox(3) > fluent-option(1)[aria-selected] and actual attribute fluent-combobox(2) > fluent-option(0)[aria-selected] are different.
3: The attribute at fluent-combobox(2) > fluent-option(0)[selected] was not expected.
Actual HTML:
<style>#myComponent::part(listbox) { z-index: 9995 }</style>
<fluent-combobox id="xxx" current-value="Contoso" position="below" >
<fluent-option id="xxx" value="Contoso" selected="" aria-selected="true" >Contoso</fluent-option>
</fluent-combobox>
Expected HTML:
<style>#myComponent::part(listbox) { z-index: 9995 }</style>
<fluent-combobox id="xxx" current-value="" position="below" >
<fluent-option id="xxx" value="Contoso" aria-selected="false" >Contoso</fluent-option>
</fluent-combobox>
|
Build and Test Core Lib
Process completed with exit code 1.
|
Build and Test Core Lib:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Test Core Lib:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Test Core Lib:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Test Core Lib:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Deploy Demo site:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/Lab/IssueTester.razor#L5
Found markup element with unexpected name 'Form'. If this is intended to be a component, add a @using directive for its namespace.
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/DataGrid/Examples/DataGridAutoItemsPerPage.razor#L7
Possible null reference argument for parameter 'source' in 'IQueryable<Country> Queryable.AsQueryable<Country>(IEnumerable<Country> source)'.
|
Build and Deploy Demo site:
src/Core/Components/List/ListComponentBase.razor.cs#L297
Avoid multiple blank lines (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide2000)
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/Lab/IssueTester.razor#L5
Found markup element with unexpected name 'Form'. If this is intended to be a component, add a @using directive for its namespace.
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/DataGrid/Examples/DataGridAutoItemsPerPage.razor#L7
Possible null reference argument for parameter 'source' in 'IQueryable<Country> Queryable.AsQueryable<Country>(IEnumerable<Country> source)'.
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/Lab/IssueTester.razor#L5
Found markup element with unexpected name 'Form'. If this is intended to be a component, add a @using directive for its namespace.
|
Build and Deploy Demo site:
examples/Demo/Shared/Pages/DataGrid/Examples/DataGridAutoItemsPerPage.razor#L7
Possible null reference argument for parameter 'source' in 'IQueryable<Country> Queryable.AsQueryable<Country>(IEnumerable<Country> source)'.
|