Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Validation Plugins Example With SchemaWizard #191

Open
urbanbratcoder opened this issue Jun 14, 2021 · 4 comments
Open

Validation Plugins Example With SchemaWizard #191

urbanbratcoder opened this issue Jun 14, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@urbanbratcoder
Copy link

Hi there!

First of all, great work! I have recently discovered formvuelate and i love it.

I am a beginner with vue 3 and your fabulous library. I am aware that my demand is due to lack of my own js and vue 3 knowledge. Nevertheless i would appreciate an addition to the examples in the documentation about using the schemawizard with the validation libraries/plugins. I imagine this could also be of help to others.

Regards, Dave

@marina-mosti
Copy link
Member

Hello @urbanbratcoder
There are no docs because it's not currently possible ;(
The wizard mostly provides a quick and easy way to do paginated forms, but was never really brought up to speed with the flexible capabilities of what the SchemaFormFactory can do

At this point, I would suggest whipping up your own paginated solution by splitting up your schema into an array and passing only the desired index to your SchemaForm, but I will def consider this as it is a good idea for later.

@marina-mosti marina-mosti added the enhancement New feature or request label Jun 14, 2021
@urbanbratcoder
Copy link
Author

Thank you for clarification. I am fine with having my self made pagination.
Please keep going with such fantastic work like this library!

@fberndsen
Copy link

Thanks for the info @marina-mosti, I also was trying to tackle this issue and look forward to this functionality being added to the SchemaWizard!

I took your recommendation and managed to get it working. I've setup a CodeSandbox in case anyone else would like an example. I'm still fairly beginner at Vue and JavaScript, if the quality is insufficient, feel free to remove my comment.

@marina-mosti
Copy link
Member

Nice example @FloydBerndsen thanks :)
This is going to take a while longer to implement, me and Abdel are super busy with work and we need to rewrite the core to improve the plugin system so please be patient and meanwhile solutions like this one are the go-to

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants