Skip to content
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

fix passwordInput HTMLInputElement error on onError focus #69

Closed
wants to merge 1 commit into from

Conversation

salmankalela
Copy link

When deleting an account, if a wrong password is entered, an error is generated on the focus in onError

@AaronLil
Copy link

AaronLil commented Mar 2, 2025

Hi @salmankalela, I just tested using useTemplateRef (#69) and encountered the following error on devtools console:
Uncaught (in promise) TypeError: t.focus is not a function

image

Additionally, there's a TypeScript error showing up on VSCode:

image

@tnylea
Copy link
Contributor

tnylea commented Mar 3, 2025

Thanks @AaronLil

@salmankalela can you check on your end and let us know if you are able to fix that.

@tnylea tnylea added the Awaiting User Response Waiting for developers response label Mar 3, 2025
@salmankalela
Copy link
Author

This is a much better solution: #54 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting User Response Waiting for developers response
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants