TS 5.3.3 error: Property 'placeholder' does not exist on type 'IntrinsicAttributes & AutocompleteProps<...>'
yann-combarnous opened this issue · comments
Describe the bug
Since Typescript 5.3.3, I am getting an error that property placeholder is not defined on MUI-RFF input props for Autocomplete component.
To Reproduce
Steps to reproduce the behavior:
- Add Autocomplete component with placeholder property from MUI-rff
- Run typescript check
Expected behavior
Property is recognized by Typescript
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Typescript 5.3.3
Additional context
Missing optional string property 'placeholder' in AutocompleteWrapperProps type definition.
Thanks for your report.
Ah yes, the classic "software rots over time" issue. Sigh.
I've been slowly working on an update to mui-rff that fixes this and a whole bunch of other type errors (getting rid of 'any' throughout the entire codebase).
Hopefully, I'll get motivation to finish it up soonish.