Skip to content

In TypeaheadSingle the 'onChange' is triggered twice in some scenario's #684

@TimQuist

Description

@TimQuist

Version
"@42.nl/ui": "4.0.6"

In TypeaheadSingle the 'onChange' is triggered twice instead of once when typing the word fully yourself (so not selecting it from the dropdown).

In the video below you can see this behaviour. This is a situation where a console.log is put directly inside of the onChange (so it's a pure 42UI component).

I have not checked if it still exists on 5.x.x.

Screen.Recording.2023-03-03.at.14.57.57.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.x.xbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions