fix: limit first/lastname inputs to 30 characters

This commit is contained in:
Arvid Norlin
2024-12-10 10:00:56 +01:00
parent 100adc8266
commit d67a2919bf
9 changed files with 17 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ export default function Input({
disabled = false,
helpText = "",
label,
maxLength,
name,
placeholder = "",
readOnly = false,
@@ -55,6 +56,7 @@ export default function Input({
aria-labelledby={field.name}
id={field.name}
label={label}
maxLength={maxLength}
placeholder={placeholder}
readOnly={readOnly}
required={!!registerOptions.required}