Created
November 8, 2018 12:09
-
-
Save cbrannen9a/f5c683c5592a9273050e6c5bf18c3970 to your computer and use it in GitHub Desktop.
Partial checkout adding form validation
This file contains 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
handleFormValidation = () => { | |
const { validation } = this.state; | |
this.setState({ | |
validation: { | |
...validation, | |
hasErrorAddressForm: formValidator(validation, 'addressForm'), | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment