Skip to content

Instantly share code, notes, and snippets.

@gwenaelp
Created August 2, 2018 02:07
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 gwenaelp/9fc396fd68c1c360a9492e784c67f583 to your computer and use it in GitHub Desktop.
Save gwenaelp/9fc396fd68c1c360a9492e784c67f583 to your computer and use it in GitHub Desktop.
export default {
fields: [{
type: "input",
inputType: "text",
label: "Name",
model: "name",
placeholder: "Your name",
featured: true,
required: true,
}, {
type: "input",
inputType: "password",
label: "Password",
model: "password",
min: 6,
required: true,
hint: "Minimum 6 characters",
}, {
type: "input",
inputType: "email",
label: "E-mail",
model: "email",
placeholder: "User's e-mail address",
}],
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment