Describe the bug
React does not recognize the iconPosition prop on a DOM element when iconPosition prop in IconField is used with AutoComplete component.
Reproducer
https://stackblitz.com/edit/vitejs-vite-o12afk
System Information
react: 18.3.1
primereact: 10.8.3
typescript: 5.6.2
Steps to reproduce the behavior
- Go to issue reproducer link
- Inspect the console.
Expected behavior
AutoComplete and IconField are not composable. We should be able to combine any React component with any other component seamlessly.