Skip to content
Snippets Groups Projects
Unverified Commit 7fa62b43 authored by Tom French's avatar Tom French Committed by GitHub
Browse files

Merge pull request #124 from andremralves/fix/hitting-enter-on-bootstrap-page

fix: hitting enter after setting password redirects to demo page
parents fc125712 a2b67cb1
No related branches found
No related tags found
No related merge requests found
...@@ -47,6 +47,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) { ...@@ -47,6 +47,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) {
type={showPassword ? 'text' : 'password'} type={showPassword ? 'text' : 'password'}
value={password1} value={password1}
onChange={e => setPassword1(e.target.value)} onChange={e => setPassword1(e.target.value)}
onEnter={onSubmit}
/> />
<Input <Input
placeholder="Confirm password" placeholder="Confirm password"
...@@ -54,6 +55,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) { ...@@ -54,6 +55,7 @@ export function ConfirmPasswordForm({ buttons, onSetPassword, onError }) {
value={password2} value={password2}
onChange={e => setPassword2(e.target.value)} onChange={e => setPassword2(e.target.value)}
style={{ marginTop: 10 }} style={{ marginTop: 10 }}
onEnter={onSubmit}
/> />
<View <View
......
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