mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 21:27:10 +00:00
fix: enable user to press Enter in signup flow
This commit is contained in:
@@ -114,6 +114,7 @@ export default function CodeInputStep({
|
|||||||
<div className="flex flex-col items-center justify-center lg:w-[19%] w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
<div className="flex flex-col items-center justify-center lg:w-[19%] w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
||||||
<div className="text-l py-1 text-lg w-full">
|
<div className="text-l py-1 text-lg w-full">
|
||||||
<Button
|
<Button
|
||||||
|
type="submit"
|
||||||
onClick={incrementStep}
|
onClick={incrementStep}
|
||||||
size="sm"
|
size="sm"
|
||||||
isFullWidth
|
isFullWidth
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ export default function EnterEmailStep({
|
|||||||
<div className="flex flex-col items-center justify-center lg:w-1/6 w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
<div className="flex flex-col items-center justify-center lg:w-1/6 w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
||||||
<div className="text-l py-1 text-lg w-full">
|
<div className="text-l py-1 text-lg w-full">
|
||||||
<Button
|
<Button
|
||||||
|
type="submit"
|
||||||
onClick={emailCheck}
|
onClick={emailCheck}
|
||||||
size="sm"
|
size="sm"
|
||||||
isFullWidth
|
isFullWidth
|
||||||
|
|||||||
@@ -248,7 +248,6 @@ export default function UserInfoStep({
|
|||||||
placeholder=""
|
placeholder=""
|
||||||
onChange={(e) => setAttributionSource(e.target.value)}
|
onChange={(e) => setAttributionSource(e.target.value)}
|
||||||
value={attributionSource}
|
value={attributionSource}
|
||||||
isRequired
|
|
||||||
className="h-12"
|
className="h-12"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -301,6 +300,7 @@ export default function UserInfoStep({
|
|||||||
<div className="flex flex-col items-center justify-center lg:w-[19%] w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
<div className="flex flex-col items-center justify-center lg:w-[19%] w-1/4 min-w-[20rem] mt-2 max-w-xs md:max-w-md mx-auto text-sm text-center md:text-left">
|
||||||
<div className="text-l py-1 text-lg w-full">
|
<div className="text-l py-1 text-lg w-full">
|
||||||
<Button
|
<Button
|
||||||
|
type="submit"
|
||||||
onClick={signupErrorCheck}
|
onClick={signupErrorCheck}
|
||||||
size="sm"
|
size="sm"
|
||||||
isFullWidth
|
isFullWidth
|
||||||
|
|||||||
Reference in New Issue
Block a user