feat: autofill all fields on enter details and countryselector clean up

This commit is contained in:
Simon Emanuelsson
2025-05-06 08:43:15 +02:00
parent 81c2afe570
commit 4d41d4fd92
9 changed files with 290 additions and 33 deletions

View File

@@ -19,6 +19,7 @@ import type { InputProps } from "./input"
const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
{
"aria-label": ariaLabel,
autoComplete,
className = "",
disabled = false,
helpText = "",
@@ -65,6 +66,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
{...field}
ref={ref}
aria-labelledby={field.name}
autoComplete={autoComplete}
id={field.name}
label={label}
maxLength={maxLength}