expose onInput in component, force lowercase for email input
This commit is contained in:
1 parent
8048d8e265
commit
19f666fe82
2 files changed
+6
No files matched your search
@@ -226,6 +226,7 @@ const StepTwo = ({ form, errors, onSubmit, onChange, onBack }) => {
|
||||
placeholder="jordan.ellis@domain.com"
|
||||
autoComplete="email"
|
||||
value={form.email}
|
||||
onInput={(e) => (e.target.value = e.target.value.toLowerCase())}
|
||||
onChange={onChange}
|
||||
error={errors.email}
|
||||
ref={inputRef}
|
||||
|
||||
Reference in new issue
Block a user