-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to reorder fields in the sign up form #296
Comments
Just tried this and it worked nicely for me: EmailPasswordSignUp_Override: ({ DefaultComponent, ...props }) => {
return (
<DefaultComponent
{...props}
formFields={[
props.formFields.find(({id}) => id === 'name'),
props.formFields.find(({id}) => id === 'email'),
props.formFields.find(({id}) => id === 'password'),
]}
/>
);
}, |
This was referenced Jan 2, 2023
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to conversation https://discord.com/channels/603466164219281420/644849840475602944/867716322334867476
At the moment, we need to use
@emotion/react
for it and need to override the sign up component and do:This is annoying and unclear. We would ideally like an API like:
Notice that we do not have to provide any other field in the
email
andpassword
objects. Just their ids.The text was updated successfully, but these errors were encountered: