vue-generators / vue-form-generator-docs

Official Documentation for Vue Form Generator

Home Page:https://vue-generators.gitbook.io/vue-generators/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validators import not mentioned in example

digicos opened this issue · comments

it is not clear from the documentation how to import the validator used in the example on this page
Usage Example

checked the above issue at this documentation page as well

Can you be more specific? What validator?

The new feature that allows you to import validators with Vue.use(VueFormGenerator, options) can be found under the Validation section of the documentation.

Please refer to the updated documented located at https://vue-generators.gitbook.io/vue-generators/

Thanks!. I referred to an outdated documentation.
I took an example from the old documentation and that did not have hints to import the built in validators. (New documentation and JsFiddle has a good example though)
for e.g
The validator: validators.string mentioned on this page does not provide a hint about 'validators', how to import them?. I feel a small section mentioning it should be useful.

Thanks, for sharing vue-form-generator, a wonderful piece of work by you guys.

Refer to the validators section of the docs

“String” is built-in, and does not need to be imported in any specific way.

Please keep issues on this repo limited to issues with the documentation - if you need assistance with VFG usage, please us stackoverflow or the main VFG repo issues.