Merged in fix(BOOK-659)-multiroom-name-check (pull request #3385)

fix(BOOK-659): use unique ids for multiroom booking input fields

* fix(BOOK-659): use unique ids for multiroom booking input fields


Approved-by: Bianca Widstam
Approved-by: Linus Flood
This commit is contained in:
Matilda Landström
2026-01-05 11:20:20 +00:00
committed by Linus Flood
parent dc18589afe
commit d23137a69d
5 changed files with 12 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
helpText?: string
label: string
name: string
id?: string
registerOptions?: RegisterOptions
hideError?: boolean
}
@@ -28,6 +29,7 @@ const BookingFlowInput = forwardRef<HTMLInputElement, InputProps>(
label,
maxLength,
name,
id,
placeholder,
readOnly = false,
registerOptions = {},
@@ -61,6 +63,7 @@ const BookingFlowInput = forwardRef<HTMLInputElement, InputProps>(
inputMode={inputMode}
label={label}
maxLength={maxLength}
id={id}
name={name}
placeholder={placeholder}
readOnly={readOnly}