Skip to content
Discussion options

You must be logged in to vote
async function setModelValue(value: Model | string | undefined) {
  if (!value || typeof value === "string") {
      model.value = null
// ...

You are interrupting the typing by resetting the field to null.
VCombobox is basically a text field with a dropdown for suggestions, value in this event handler is expected to be string most of the time, so the logic here is just wrong.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by J-Sek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants