We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have problem with
const LoginSchema = new SimpleSchema({ email: { type: SimpleSchema.RegEx.Email, }, password: { type: String, },
Get error
Unsupported field type: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/ at invariant (printer.js:170) at Auto (printer.js:170) at printer.js:170 at measureLifeCyclePerf (printer.js:170) at ReactCompositeComponentWrapper._constructComponentWithoutOwner
The text was updated successfully, but these errors were encountered:
SimpleSchema.RegEx.Email is not valid field type. See simple schema documentation.
SimpleSchema.RegEx.Email
Try using regEx property.
Sorry, something went wrong.
Thanks 👍 Could you example for me?
So it mean that I can't use SimpleSchema.oneOf()... too
SimpleSchema.oneOf()...
You can use SimpleSchema.oneOf(), the first type will be used to render an input. See this comment.
SimpleSchema.oneOf()
janowsiany
No branches or pull requests
I have problem with
Get error
The text was updated successfully, but these errors were encountered: