diff --git a/packages/features/src/components/autocomplete.tsx b/packages/features/src/components/autocomplete.tsx index f5ae0a50..af2d6ae6 100644 --- a/packages/features/src/components/autocomplete.tsx +++ b/packages/features/src/components/autocomplete.tsx @@ -20,6 +20,7 @@ type AutocompleteProps = { autoFocus?: boolean testId: string inputProps: UseFormRegisterReturn + wordNumber: number } export const Autocomplete = ({ @@ -31,20 +32,28 @@ export const Autocomplete = ({ testId, inputProps, setValue, + wordNumber, }: AutocompleteProps) => { const filteredOptions = take(3, matchSorter(options, currentValue)) return ( -
+
9 ? "pl-8" : "pl-6", + )} placeholder={placeholder} autoFocus={autoFocus} onPaste={onPaste} autoComplete="off" data-testid={testId} {...inputProps} + style={{ position: "relative" }} /> + + {wordNumber}. + ))}