Use textual true / false for signup radios

This commit is contained in:
Tanner Collin 2020-02-04 08:39:45 +00:00
parent 51b6be93cc
commit 30294e7332

View File

@ -124,16 +124,16 @@ export function SignupForm(props) {
<Form.Radio <Form.Radio
label='I have an account on the old portal' label='I have an account on the old portal'
name='existing_member' name='existing_member'
value={true} value={'true'}
checked={input.existing_member === true} checked={input.existing_member === 'true'}
onChange={handleValues} onChange={handleValues}
error={!!error.existing_member} error={!!error.existing_member}
/> />
<Form.Radio <Form.Radio
label='I am new to Protospace' label='I am new to Protospace'
name='existing_member' name='existing_member'
value={false} value={'false'}
checked={input.existing_member === false} checked={input.existing_member === 'false'}
onChange={handleValues} onChange={handleValues}
error={!!error.existing_member} error={!!error.existing_member}
/> />