Skip to content

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