Git Product home page Git Product logo

Comments (18)

NewOldMax avatar NewOldMax commented on May 26, 2024 2

@grudus @metractive fixed in 1.0.5

from react-material-ui-form-validator.

metractive avatar metractive commented on May 26, 2024 1

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.

metractive avatar metractive commented on May 26, 2024 1

@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.

metractive avatar metractive commented on May 26, 2024

+1

from react-material-ui-form-validator.

NewOldMax avatar NewOldMax commented on May 26, 2024

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.

metractive avatar metractive commented on May 26, 2024

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.

aamping avatar aamping commented on May 26, 2024

what about for version 2.X? using Material-ui Next...

Thanks

from react-material-ui-form-validator.

NewOldMax avatar NewOldMax commented on May 26, 2024

@aamping custom rules in 2.X works as well
But

  • minStringLength
  • maxStringLength
  • isString
    still doesn't exist

from react-material-ui-form-validator.

muhammadtalha-13 avatar muhammadtalha-13 commented on May 26, 2024

@NewOldMax any idea when minStringLength will be supported?

from react-material-ui-form-validator.

NewOldMax avatar NewOldMax commented on May 26, 2024

@muhammadtalha-13 It should be in latest version

from react-material-ui-form-validator.

muhammadtalha-13 avatar muhammadtalha-13 commented on May 26, 2024

@NewOldMax yes just checked in another issue that it is solved in beta-4. Maybe close this issue?

from react-material-ui-form-validator.

NewOldMax avatar NewOldMax commented on May 26, 2024

It's closed already

from react-material-ui-form-validator.

siddharthjain123 avatar siddharthjain123 commented on May 26, 2024

@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.

NewOldMax avatar NewOldMax commented on May 26, 2024

@siddharthjain123 please, create a snippet with your error here

from react-material-ui-form-validator.

GonzoAS avatar GonzoAS commented on May 26, 2024

hello, is there a solution? for _ValidationRules2.default[name] is not a function???

from react-material-ui-form-validator.

Standin-Alone avatar Standin-Alone commented on May 26, 2024

any updates or solution? _ValidationRules2.default[name] is not a function

from react-material-ui-form-validator.

NewOldMax avatar NewOldMax commented on May 26, 2024

@Standin-Alone please make reproducible case here

from react-material-ui-form-validator.

menashkes avatar menashkes commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.