foxhound87
9/16/2016 - 7:36 PM

[mobx-react-form] fields

[mobx-react-form] fields

const fields = {
  email: {
    label: 'Email',
    placeholder: 'Insert Email',
    rules: 'required|email|string|between:5,25',
  },
  password: {
    label: 'Password',
    placeholder: 'Insert Password',
    rules: 'required|string|between:5,25',
  },
};