Skip to content

[w-autocomplete] Using strings as the value#159

Open
andrewapplicantpro wants to merge 1 commit intoantoniandre:mainfrom
andrewapplicantpro:autocomplete-52597
Open

[w-autocomplete] Using strings as the value#159
andrewapplicantpro wants to merge 1 commit intoantoniandre:mainfrom
andrewapplicantpro:autocomplete-52597

Conversation

@andrewapplicantpro
Copy link

There appears to be a bug with w-autocomplete that currently restricts it to working with numbers as the item value. The modelValue is typed as String, Number, Array so I'm assuming it was intended to work with strings too. The modelValue values were being converted to a number during the item list comparison, which meant it would never find the string values due to the strict comparison.

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

Successfully merging this pull request may close these issues.

1 participant