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

The check component isn't be checked with zero values. #55

Closed
marjandejyab opened this issue Jul 26, 2020 · 0 comments
Closed

The check component isn't be checked with zero values. #55

marjandejyab opened this issue Jul 26, 2020 · 0 comments

Comments

@marjandejyab
Copy link

When we have a check component with zero value like below:

// val = 0
<fvCheck :content="0" v-model="val"> No </fvCheck>

the checkbox is never checked in UI because of the following line:

return this.multiple ? this.value : (this.value ? [this.value] : []);

Note: the v-model is updated correctly

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

1 participant