Skip to content

this.validate is not a function" in TypeError: this.validate is not a function << at ... #51

@asdf23

Description

@asdf23

Perhaps I'm not getting something, nothing in this package seems to work at all.

this.validate is not a function" in TypeError: this.validate is not a function << at _onSubmit
  _onSubmit() {
      this.validate({
        emailField: {email: true, required: true},
        passwordField: {required: true}
      });
  }
...
          <TextInput
            ref="emailField"   deviceLocale="fr"
            style={AppStyles.input}
            keyboardType="email-address"
            placeholder="Email Address"
            onChangeText={(emailField) => this.setState({emailField})} value={this.state.emailField} 
          />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions