Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
b3b00 opened this issue Mar 1, 2024 · 0 comments
Open

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

b3b00 opened this issue Mar 1, 2024 · 0 comments

Comments

@b3b00
Copy link

b3b00 commented Mar 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant