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

wrong falseValue? #19

Open
d21d3q opened this issue Dec 19, 2018 · 1 comment
Open

wrong falseValue? #19

d21d3q opened this issue Dec 19, 2018 · 1 comment

Comments

@d21d3q
Copy link

d21d3q commented Dec 19, 2018

Shouldn't falseValue hold false?

falseValue: true,

@bentappin
Copy link

This is confusing me too.

Shouldn't they both actually be Boolean rather than true/false? If a default required it should be done like this:

props: {
  ...
  trueValue: 
    type: Boolean,
    default: true
  }
  ...
}

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

No branches or pull requests

2 participants