Skip to content

How to create a new entry beginning with a matching existing entry #219

@b3b00

Description

@b3b00

Hello,

I have a use case where I need to create a new entry to the list and that entry matches the beginning of an existing entry.
take a look at : https://svelte.dev/repl/19e4f2ca832046e697066ddbbd9ba0f1?version=4.2.12
We have 3 listed items :

  • Jean-Louis
  • Jean-René
  • Francis

if I want to create a new entry "Jean" the component does not fire the oncreate event but instead select the first matching item (Jean-Louis)
I understand that this is an expected behavior.
Is there any way to achieve my need ?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions