Skip to content
Discussion options

You must be logged in to vote

@olegmashalanchuk

Method reset() will work even if input is not visible display: none. It might not work correctly if your visibility is applied by mounting/unmounting the input.

Based on your description, it seems like your Tabs component is only render active tab (a.k.a mount/unmount tab based on its active status). A workaround for this case is to switch to visibility by CSS display: none to keep reference on input field.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IanVS
Comment options

Answer selected by olegmashalanchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants