feat: enhance login form with sign-up input-fields and autocomplete attributes

This commit is contained in:
micha 2025-06-08 00:53:27 +02:00 committed by Dominik
parent abae5c74d5
commit 6c479e80d6
2 changed files with 74 additions and 17 deletions

View file

@ -7,12 +7,14 @@ export default function LabeledInput({
placeholder,
value,
name,
autocomplete,
}: {
type: 'text' | 'email' | 'password';
label: string;
placeholder?: string;
value?: string;
name?: string;
autocomplete?: string;
}) {
return (
<div className='grid grid-cols-1 gap-1'>
@ -24,6 +26,7 @@ export default function LabeledInput({
defaultValue={value}
id={name}
name={name}
autoComplete={autocomplete}
/>
</div>
);