You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
As I want to scroll the top of the tab into view, I would like to be able to execute a function when a tab is complete. Looking at the source, the afterTabChange function seems to do this:
setting this on a tab does work when navigating normally through the tabs (by clicking next), but it is not called after the user navigates in reverse (e.g. by using the previous button).
I could not make it work. Function1 runs normally when Next button is clicked while on FirstTab, but I want to trigger Function2 when Back button is clicked while on SecondTab.
Am I missing something?
Thank you.
Also, the link you shared is not working anymore.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
As I want to scroll the top of the tab into view, I would like to be able to execute a function when a tab is complete. Looking at the source, the afterTabChange function seems to do this:
<tab-content title="someTab" :after-change="()=>someFunction()">
setting this on a tab does work when navigating normally through the tabs (by clicking next), but it is not called after the user navigates in reverse (e.g. by using the previous button).
This seems to be part of the nextTab and prevTab functions, or the changeTab function, but I am not sure. See:
https://github.com/cristijora/vue-form-wizard/blob/master/src/components/FormWizard.vue#L310
The text was updated successfully, but these errors were encountered: