koumoul-dev / vuetify-jsonschema-form

Create beautiful and low-effort forms that output valid data. Published on npm as @koumoul/vjsf.
https://koumoul-dev.github.io/vuetify-jsonschema-form/latest/
MIT License
546 stars 155 forks source link

Request: emit "currentStep" from Stepper. #328

Open IOIIOOIO opened 2 years ago

IOIIOOIO commented 2 years ago

I have actually asked a question about this on Stackoverflow, however I'm starting to realise I should already know the answer.

https://stackoverflow.com/questions/70609007/get-current-step-of-vuetify-jsonschema-form-stepper

What I think needs to happen is that whenv-stepper emits the value on change, then the v-jsf needs to emit it as well? It could be a custom event such as @change-step for example?

I'm a bit weak with JavaScript, so excuse my ignorance if I've missed something.

albanm commented 2 years ago

Yes, that would be the way to make it work.