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

[Bug Report][2.6.1] VAutocomplete Error When NULL Found in Items #14524

Closed
rashadrivera opened this issue Dec 16, 2021 · 1 comment
Closed

[Bug Report][2.6.1] VAutocomplete Error When NULL Found in Items #14524

rashadrivera opened this issue Dec 16, 2021 · 1 comment
Labels
duplicate The issue has already been reported

Comments

@rashadrivera
Copy link
Contributor

Environment

Vuetify Version: 2.6.1
Vue Version: 2.6.14
Browsers: Chrome 96.0.4664.110, Mozilla Firefox, Microsoft Edge
OS: Windows 10

Steps to reproduce

  1. In the array bound to VAutocomplete.Items, push NULL or undefined into the array
  2. Observe the Console Error logs

Expected Behavior

The VAutocomplete control will throw only one comprehensive warning/error with the array index, for each offending value in the array.

Actual Behavior

6 unhandled errors will be emitted in the browser's console.

Reproduction Link

https://codepen.io/rashad-rivera/pen/jOGmPOy?editors=1010

Other comments

In the code example, open your browser's Console and clear all errors. Then click the "Inject Null Into Array" button to expose the 6 unhandled errors.

@KaelWD
Copy link
Member

KaelWD commented Dec 27, 2021

Duplicate of #14421

@KaelWD KaelWD marked this as a duplicate of #14421 Dec 27, 2021
@KaelWD KaelWD closed this as completed Dec 27, 2021
@KaelWD KaelWD added duplicate The issue has already been reported and removed S: triage labels Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate The issue has already been reported
Projects
None yet
Development

No branches or pull requests

2 participants