Skip to content

fix: Select component in Demo site #3238

Closed

Description

@bakhtvar

🐛 Bug Report

When I download source code build and run Demo site, going to Select page, raises exception!

🔦 Context

Latest version as of 23 Jan 2025.
It rebuilt and not fixed the issue.

🌍 Your Environment

Windows machine, while version 4.10.4, had no such issue, looks that in 4.11.3 there is this issue!

The bug says:
[2025-01-23T18:56:40.884Z] Error: Microsoft.JSInterop.JSException: Could not find 'detachIndicatorClickHandler' ('detachIndicatorClickHandler' was undefined).
Error: Could not find 'detachIndicatorClickHandler' ('detachIndicatorClickHandler' was undefined).
at https://localhost:7062/_framework/blazor.server.js:1:537
at Array.forEach ()
at l.findFunction (https://localhost:7062/_framework/blazor.server.js:1:505)
at _ (https://localhost:7062/_framework/blazor.server.js:1:5248)
at https://localhost:7062/_framework/blazor.server.js:1:3041
at new Promise ()
at y.beginInvokeJSFromDotNet (https://localhost:7062/_framework/blazor.server.js:1:3004)
at Xt._invokeClientMethod (https://localhost:7062/_framework/blazor.server.js:1:60890)
at Xt._processIncomingData (https://localhost:7062/_framework/blazor.server.js:1:58279)
at Xt.connection.onreceive (https://localhost:7062/_framework/blazor.server.js:1:51920)
at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)
at Microsoft.JSInterop.JSObjectReferenceExtensions.InvokeVoidAsync(IJSObjectReference jsObjectReference, String identifier, Object[] args)
at Microsoft.FluentUI.AspNetCore.Components.FluentCombobox`1.DisposeAsync() in C:\Users\SMB\source\repos\fluentui-blazor\src\Core\Components\List\FluentCombobox.razor.cs:line 181
at Microsoft.AspNetCore.Components.RenderTree.Renderer.g__GetHandledAsynchronousDisposalErrorsTask|79_0(Task result)

Activity

  1. added
    triage
    on Jan 23, 2025
  2. rpodevns commented on Jan 23, 2025

    @rpodevns
    Contributor

    Are you certain the error occurs with the Select page and not the Combobox? And can you check to make sure the project contains this file.

    Microsoft.FluentUI.AspNetCore.Components\Components\List\FluentCombobox.razor.js

    Image

  3. rpodevns commented on Jan 23, 2025

    @rpodevns
    Contributor

    I see the issue and it is a bug. The js file FluentCombobox.razor.js is exporting detachHandlers instead of detachIndicatorClickHandler.

  4. added
    bug
    and removed
    triage
    on Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions