We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
The onFocus type does not exist in the AutoComplete prop interface.
Pasting the demo gist into an existing react tsx project will raise a type error
that onFocus is a valid prop
TS2339 'on focus does not exist on ... AutoCompleteProps'
The text was updated successfully, but these errors were encountered:
PR is welcome~
Sorry, something went wrong.
testing this, it is just the interface that needs changing, functionally works the same
const AutoCompleteAllowProps = AutoComplete as any;
const field = (
will correctly trigger the focus event
@jon-r i tried and everything was fine and i couldn't replicate the error.
also i tried it on stackblitz and everything was fine there as well.
hi @jon-r, could you provide an online reproduce about this? Since onFocus is defined: https://email@example.com/lib/auto-complete/index.d.ts
@zombieJ https://firstname.lastname@example.org/lib/auto-complete/index.d.ts 3.10.1 also defines onBlur
Maybe its on 3.10.0.
@muzea, let's close this issue first but still continue work with your PR : )
Successfully merging a pull request may close this issue.