fix(LOY-251): numeric inputmode on inputs for mobile numeric keyboard

This commit is contained in:
Christian Andolf
2025-06-12 11:10:27 +02:00
parent 4f75c4a60f
commit d01db033ae
7 changed files with 12 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
registerOptions = {},
type = "text",
hideError,
inputMode,
},
ref
) {
@@ -74,6 +75,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(function Input(
readOnly={readOnly}
required={!!registerOptions.required}
type={type}
inputMode={inputMode}
/>
{helpText && !fieldState.error ? (
<Caption asChild color="black">