Skip to content

fix: Disable Autofill in FluentAutocomplete for Microsoft Edge #3899

@MarvinKlein1508

Description

@MarvinKlein1508

🐛 Bug Report

I can't disable the autofill suggestions in Microsoft Edge properly. Whenever a user clicks into one of the FluentAutocomplete fields there will be two popups. One from the component and one from the browser. See:
Image

💻 Repro or Code Sample

I've already tried to set AutoComplete to false and even provided an id for the input:

<FluentAutocomplete TOption="Ansprechpartner"
                    Id="bericht-ansprechpartner"
                    Label="Gesprochen mit (Kunde)"
                    AutoComplete="off"
                    Placeholder="Name"
                    OnOptionsSearch="@OnSearchAnsprechpartner"
                    OptionText="@(item => item.Name)"
                    @bind-SelectedOptions="Input.Ansprechpartner" />

🤔 Expected Behavior

I expect the autofill menu to nor appear in Edge.

😯 Current Behavior

Autofill menu opens everytime.

🔦 Context

My users are confused and select the item from autofill but then they wonder why it isn't a valid selection in the field. I'Ve tried everything to disable this behaviour and right now this ony appears for us in Edge. In Firefox it is disabled. I cannot test Chrome though because we aren't allowed to run Google Chrome in our company.

🌍 Your Environment

.NET 9.0.5 and FluentUI 4.12.0

This happens in Microsoft Edge. Firefox seems to be working fine. I cannot verify if this is happening in Google Chrome as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions