-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete: Passthrough to input
not working
#6922
Autocomplete: Passthrough to input
not working
#6922
Comments
your syntax is wrong see: https://stackblitz.com/edit/efgeef?file=src/App.jsx <AutoComplete
value={value}
suggestions={items}
completeMethod={search}
onChange={(e) => setValue(e.value)}
pt={{
root: {
className: 'w-100 fs-7 p-0 d-flex',
},
input: {
root: {
className: 'autocomplete-custom',
},
},
}}
/> |
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. |
input
not working
That way it worked. But checking the |
let me fix the Typescript. |
Describe the bug
When passing the property to PrimeReactProvider, the autocomplete component is not receiving the className parameterized in the object
Reproducer
No response
PrimeReact version
10.7.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 127, Edge
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: