Skip to content

Fix: forward autoComplete prop to input-based components#8456

Merged
melloware merged 1 commit intoprimefaces:masterfrom
Coderxrohan:fix/autocomplete-input-components
Jan 2, 2026
Merged

Fix: forward autoComplete prop to input-based components#8456
melloware merged 1 commit intoprimefaces:masterfrom
Coderxrohan:fix/autocomplete-input-components

Conversation

@Coderxrohan
Copy link
Copy Markdown
Contributor

Summary

  • Forwards the autoComplete prop to underlying native input elements
  • Resolves browser DOM warnings related to missing autocomplete attributes
  • Improves accessibility without introducing defaults or breaking changes

Affected Components

  • InputText
  • InputMask
  • Password
  • InputTextarea

Fixes #8151 [DOM Warning] Input elements rendered by PrimeReact lack autocomplete attributes (e.g., "username", "tel")

@Coderxrohan
Copy link
Copy Markdown
Contributor Author

Fixes #8151 by forwarding the autoComplete prop to native inputs across input-based components.

@Coderxrohan
Copy link
Copy Markdown
Contributor Author

The branch is rebased onto the latest upstream/master and contains only this fix.

@melloware melloware merged commit 01d2fdf into primefaces:master Jan 2, 2026
3 checks passed
@Coderxrohan Coderxrohan deleted the fix/autocomplete-input-components branch February 4, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOM Warning] Input elements rendered by PrimeReact lack autocomplete attributes (e.g., "username", "tel")

2 participants