Skip to content

Instantly share code, notes, and snippets.

@ryanirilli
Created June 1, 2015 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanirilli/dbd9ed644e2f97839d06 to your computer and use it in GitHub Desktop.
Save ryanirilli/dbd9ed644e2f97839d06 to your computer and use it in GitHub Desktop.
{
fields: [
{
name: "lastName"
minLength: 1,
maxLength: 100,
pattern: 'regexPattern',
type: 'text',
labels: {
fr: "Last Name",
en: "Last Name"
}
},
{
name: "password"
minLength: 1,
maxLength: 100,
pattern: 'regexPattern',
type: 'password',
labels: {
fr: "Password",
en: "Password"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment