Skip to content

Instantly share code, notes, and snippets.

@cbrannen9a
Created November 8, 2018 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cbrannen9a/f5c683c5592a9273050e6c5bf18c3970 to your computer and use it in GitHub Desktop.
Save cbrannen9a/f5c683c5592a9273050e6c5bf18c3970 to your computer and use it in GitHub Desktop.
Partial checkout adding form validation
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