vue-generators / vue-form-generator-docs

Official Documentation for Vue Form Generator
https://vue-generators.gitbook.io/vue-generators/
MIT License
12 stars 19 forks source link

Validators import not mentioned in example #6

Closed digicos closed 5 years ago

digicos commented 5 years ago

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

zoul0813 commented 5 years ago

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/

digicos commented 5 years ago

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.

zoul0813 commented 5 years ago

Refer to the validators section of the docs

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

zoul0813 commented 5 years ago

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.