Skip to content

Misreported data type in inspector #1414

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

Closed
9mm opened this issue Apr 24, 2021 · 0 comments
Closed

Misreported data type in inspector #1414

9mm opened this issue Apr 24, 2021 · 0 comments

Comments

@9mm
Copy link

9mm commented Apr 24, 2021

Version

6.0.0-beta.8

Browser and OS info

Latest Vue@next / Latest OSX / Latest Chrome

Steps to reproduce

Create a prop with this signature:

disableStart: {
  type: [Date, Boolean],
  default: false,
},

Now inspect the component with that prop in vue dev tools, and look in the right hand pane. Hover over the prop and look at the tooltip summary.

What is expected?

It should display "Date, Boolean" or at the very least "Multiple"

What is actually happening?

It shows "Any" (which is very different meaning than "Multiple")

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

No branches or pull requests

2 participants