diff --git a/react/features/base/ui/components/web/Input.tsx b/react/features/base/ui/components/web/Input.tsx index 7149d32a7b..b0cefbbde9 100644 --- a/react/features/base/ui/components/web/Input.tsx +++ b/react/features/base/ui/components/web/Input.tsx @@ -188,6 +188,7 @@ const Input = React.forwardRef(({ const { classes: styles, cx } = useStyles(); const isMobile = isMobileBrowser(); const showClearIcon = clearable && value !== '' && !disabled; + const inputAutoCompleteOff = autoComplete === 'off' ? { 'data-1p-ignore': '' } : {}; const handleChange = useCallback((e: React.ChangeEvent) => onChange?.(e.target.value), []); @@ -250,6 +251,7 @@ const Input = React.forwardRef(({ data-testid = { testId } disabled = { disabled } id = { id } + { ...inputAutoCompleteOff } { ...(mode ? { inputmode: mode } : {}) } { ...(type === 'number' ? { max: maxValue } : {}) } maxLength = { maxLength }