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

[Combobox]Custom value not persisted on blur when using value-primitive #442

Open
zdravkov opened this issue Aug 24, 2023 · 1 comment
Open
Labels
Bug Item which indicates that something is not working FP: Unplanned

Comments

@zdravkov
Copy link
Member

zdravkov commented Aug 24, 2023

Describe the bug
Custom value not persisted on blur when using value-primitive

To Reproduce
Steps to reproduce the behavior:

If possible, share a runnable snippet on StackBlitz by following the steps below:

  1. Find an example in[ the documentation that looks similar to your case](https://stackblitz.com/edit/6kttks-xjfsfu?file=src%2Fmain.vue).
  2. focus the Combobox
  3. type some custom texts and click away to blur it
  4. Current: the custom typed text is cleared

Expected behavior
The custom typed value persists

Workaround use the Combobox without the value-primitive - https://stackblitz.com/edit/6kttks-zrsydp?file=src%2Fmain.vue

@zdravkov zdravkov added Bug Item which indicates that something is not working FP: Unplanned labels Aug 24, 2023
@kdikov82
Copy link

Another workaround would be to add a new item to the data and get the custom text from the input element:
https://stackblitz.com/edit/w6wzb5-xo68mc?file=src%2Fmain.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working FP: Unplanned
Projects
None yet
Development

No branches or pull requests

2 participants