Skip to content
Snippets Groups Projects
Verified Commit 9b3ff54c authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Insert password field

parent 64780a00
No related branches found
No related tags found
2 merge requests!19Working email validation and hiding controller logic to InputField,!13Basic form api and implement cookie entrypoint
...@@ -77,6 +77,19 @@ export const SignInForm: FC = () => { ...@@ -77,6 +77,19 @@ export const SignInForm: FC = () => {
errorMessage={intl.formatMessage({ id: 'error' })} errorMessage={intl.formatMessage({ id: 'error' })}
/> />
<InputField
id="password"
control={control}
rules={{
minLength: 8,
maxLength: 60,
required: { value: true, message: 'You must enter your name' },
}}
label={intl.formatMessage({ id: 'password' })}
error={!!errors.password}
errorMessage={intl.formatMessage({ id: 'error' })}
/>
<Button <Button
type="submit" type="submit"
fullWidth fullWidth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment