react-material-ui-form-validator: _ValidationRules2.default[name] Error when using custom validator

Hi, Error occurs when you try to type something in TextValidator with custom validator (it even happen in project homepage when you write any letter in ‘confirm password’ field in ‘Custom rules’)

I’m using “react”: “16.2.0”, “material-ui”: “0.20.0”, “react-material-ui-form-validator”: “1.0.4”,

image

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (7 by maintainers)

Most upvoted comments

@grudus @metractive fixed in 1.0.5

@NewOldMax I’ll check if it works with the old version and report it here. Thank you for the quick response.

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