Skip to content

[dev-v5] fix: double submit with Enter #4575

@MarvinKlein1508

Description

@MarvinKlein1508

🐛 Bug Report

Submitting an EditForm is executing the OnValidSubmit method twice. We thought this has already been fixed but it ain't working properly in the demos.

See #1050 for reference.

💻 Repro or Code Sample

See #4574

🤔 Expected Behavior

The submit event should be fired only once just like with native inputs.

😯 Current Behavior

The event is always be fired twice when using Fluent inputs.

🌍 Your Environment

  • OS & Device: Windows 11 64 Bit
  • Browser latest Firefox and Edge
  • .NET 10 and latest dev-v5 branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fluent-ui-web-componentsA Fluent UI Web Component specific issuebugA bugv5For the next major version

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions