Comments (7)
Exact same issue here. Using Expo 23, react 16
Everything installed and being imported
from react-native-form-validator.
Use this
_onPressButton = () => {
this.validate({
name: { minlength: 3, maxlength: 7, required: true },
email: { email: true },
number: { numbers: true },
date: { date: 'YYYY-MM-DD' }
});
}
Instead of
_onPressButton(){
this.validate({
name: { minlength: 3, maxlength: 7, required: true },
email: { email: true },
number: { numbers: true },
date: { date: 'YYYY-MM-DD' }
});
}
from react-native-form-validator.
add this.loginTapped = this.loginTapped.bind(this); in constructor.. like this
constructor(props) {
super(props);
this.state = {
userName: '',
password: '',
// navigation :this.props.navigation,
};
this.loginTapped = this.loginTapped.bind(this);
}
from react-native-form-validator.
Hi @hassanrazakhalid, check if node_modules/react-native-form-validator it is installed,
after the import => import ValidationComponent from 'react-native-form-validator';
from react-native-form-validator.
I have the same issue, did you found any solution plz ?
from react-native-form-validator.
i have the same issue can any one found solution?
from react-native-form-validator.
Facing same issue, any solution for this?
from react-native-form-validator.
Related Issues (20)
- Validate string before state update HOT 1
- Skipping not required fields validation if the field is empty HOT 4
- add setDeviceLocale HOT 2
- No Spanish defaultMessages
- how to not expose state variable names? HOT 3
- email regex is to restrictive HOT 3
- How to change language of error messages
- Please add License Text
- How i made a custom async rule
- How to focus in validation field on submit
- Custom Rules HOT 2
- Confirm Password check HOT 4
- A new version with equalPassword HOT 7
- this.validate is not a function" in TypeError: this.validate is not a function << at ... HOT 2
- How to use validate function in functional components? HOT 2
- required: true is not working on empty text box HOT 8
- Validation passes for single character string; need to type two characters before `getErrorsInField` returns error messages HOT 2
- Package has stopped working entirely since moving my project to TypeScript HOT 2
- isFieldInError and getErrorsInField doesn't work and custom messages HOT 1
- How to define a RegEx in form validation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-form-validator.