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

[Checkbox] getValue still NOK #223

Closed
Jerom138 opened this issue Aug 26, 2015 · 0 comments
Closed

[Checkbox] getValue still NOK #223

Jerom138 opened this issue Aug 26, 2015 · 0 comments
Labels
Milestone

Comments

@Jerom138
Copy link
Contributor

The first time "this.state.isChecked" is undefined and getValue must return false

getValue: function getValue() {
        if (this.props.value === undefined || isBoolean(this.props.value)) {
            return this.state.isChecked;
        }
        return this.state.isChecked ? this.props.value : undefined;
    },
@pierr pierr added the Critical label Aug 26, 2015
@pierr pierr modified the milestones: Focus-components v0.6.0, Focus-components v0.5.0 Aug 26, 2015
@pierr pierr closed this as completed in 667a763 Aug 26, 2015
Bernardstanislas added a commit that referenced this issue Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants