Comments (18)
@grudus @metractive fixed in 1.0.5
from react-material-ui-form-validator.
The same error happens with some validation types:
- minStringLength
- maxStringLength
- isString
- Custom Validation Rules
He gives me this error:
TypeError: _ValidationRules2.default[name] is not a function
from react-material-ui-form-validator.
@NewOldMax I'll check if it works with the old version and report it here. Thank you for the quick response.
from react-material-ui-form-validator.
+1
from react-material-ui-form-validator.
Thanks for reporting. Unfortunately I can't check it this year. Try to use old version of react-form-validator-core
for now
from react-material-ui-form-validator.
I've tried to use version 0.1.0 and 0.2.0, but no success.
I'll check if I can help with something. Thank you @NewOldMax
from react-material-ui-form-validator.
what about for version 2.X? using Material-ui Next...
Thanks
from react-material-ui-form-validator.
@aamping custom rules in 2.X works as well
But
- minStringLength
- maxStringLength
- isString
still doesn't exist
from react-material-ui-form-validator.
@NewOldMax any idea when minStringLength will be supported?
from react-material-ui-form-validator.
@muhammadtalha-13 It should be in latest version
from react-material-ui-form-validator.
@NewOldMax yes just checked in another issue that it is solved in beta-4. Maybe close this issue?
from react-material-ui-form-validator.
It's closed already
from react-material-ui-form-validator.
@NewOldMax Getting error _ValidationRules2.default[name] is not a function, When using for custom validation
with version "react-material-ui-form-validator": "1.1.0"
from react-material-ui-form-validator.
@siddharthjain123 please, create a snippet with your error here
from react-material-ui-form-validator.
hello, is there a solution? for _ValidationRules2.default[name] is not a function???
from react-material-ui-form-validator.
any updates or solution? _ValidationRules2.default[name] is not a function
from react-material-ui-form-validator.
@Standin-Alone please make reproducible case here
from react-material-ui-form-validator.
I had the same problem. I looked at the code of the library and realized that the code will go to if the validator is not "required". I wrote "Required" so I changed it to lower case and it solved it..
I guess it was expecting a custom validator..
Hope that helps.
from react-material-ui-form-validator.
Related Issues (20)
- Decimals are numbers too HOT 1
- Child components within ValidatorForm wrapped by plain divs HOT 1
- Material UI 5 support HOT 7
- Error occurred when npm run build after version upgrade HOT 2
- Uncaught ReferenceError: process is not defined HOT 2
- check validations without submitting the form HOT 4
- React 18 in peer-dependencies and use new API HOT 2
- _ValidationRules2.default[name] is not a function HOT 2
- SelectValidator causing page scroll to vanish - unable to override HOT 4
- Variable for is form valid? HOT 2
- issue while using instantValidate HOT 7
- SelectValidator suggestion pop-up(MenuItem) showing on top of the field(should be show just below the field) HOT 1
- Chrome autofill overlapping TextValidator component floating label. HOT 1
- Hydration fail
- minStringlength,maxStringlength not detecting changes while value pre setted using state HOT 4
- Reset Form Validation in Functional Component HOT 1
- ValidateOnBlur Issue HOT 1
- property value={undefined}
- getting warning and unable to submit form
- How to use it with mui v5 i.e @mui/material HOT 1
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-material-ui-form-validator.