parsajiravand / vue3-form-wizard

A vue3 based tab/form wizard
https://vue3-form-wizard-document.netlify.app/
31 stars 8 forks source link

Validate form in tabs #19

Closed fabioselau077 closed 7 months ago

fabioselau077 commented 11 months ago

I have a wizard that will have some forms inside it. I was thinking about using @on-change="onChange" to validate, however this function is triggered after changing the tab. What would make the most sense would be before-change, because according to validation it could return true or false, but in this Tab event I don't have the index of the clicked tab

parsajiravand commented 11 months ago

Hello my friend if you expain more about your problem i will be great. If i understand well you want access index instance for your validation. Please you check this part of documents after that ping me tnx. https://vue3-form-wizard-document.netlify.app/events/#events https://jsfiddle.net/bt5dhqtf/272/ @fabioselau077

parsajiravand commented 11 months ago

Hi my friend, your issue are solved or not? @fabioselau077