Created
February 28, 2017 19:21
-
-
Save gregturn/ce33e741b1c5ddafe670de2fcb10ed14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
requiredFieldsFilledOut() { | |
return this.state.required.filter(field => this.state[field]).length === this.state.required.length | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment