Skip to content

Newbie: Hard time integrating remix-validated-form with indie-stack login #191

Answered by airjp73
Jarrodsz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! The simplified version you have here doesn't appear to have any obvious mistakes. I can see the issue looking at your original post though.

<FormInput name="email" label="Email"/>
<FormInput name="password" label="Password"/>
<FormInput
  name="email"
  size={"lg"}
  type="email"
  placeholder={"Email"}
  borderBottom={0}
  borderBottomRadius={0}
  autoComplete="current-password"
  ria-describedby="password-error"
/>

You have two inputs with name="email". This is going to result in the email field being treated as an array (because there are two values). It looks like you probably intended to name the second email field something like passwordConfirmation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jarrodsz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants