Add support for configuring the @keystone-6/auth
identity field input type
#9007
Replies: 2 comments 4 replies
-
@pc-erin this isn't a bad idea, but maybe this should be part of a broader change. The authentication fields should be using the same field types as in their schema definitions. In that way, you could have something like: email: text({ ui: { inputType: 'email' } }) And that could thereby be responsively compatible in the admin and elsewhere. |
Beta Was this translation helpful? Give feedback.
-
@dcousens I was going to try adding this, but I noticed that my editor mangles the formatting whenever I save. Is there a formatting config that you're using, or want to use? |
Beta Was this translation helpful? Give feedback.
-
Trying to enter an email address on mobile is really difficult since it'll try to autocorrect to remove the @ and add spaces.
I know the backend isn't responsive, but I had to alter it's styles to make it minimally responsive.
Should be a quick fix to just change the input type to email.
EDIT: Realized that the
identityField
doesn't necessarily have to be an email. In that case maybe there should be anidentityFieldInputType
option or something?Beta Was this translation helpful? Give feedback.
All reactions