Open zipme opened 4 years ago
Hi,
I had an idea when I started working on VFJS that the validation would be optional, but there is a lot of places where ajv is used and I'm not sure if it is possible to use VFJS without it anymore. I'll have to look into this and get back to you.
It is used to determine which fields to render when displayOptions
is used, which means no conditional rendering. It's used in some other cases as well, but that's the main thing besides the normal form validation.
Im not sure what the experience would be like if ajv was optional and if the "lite" version would end up useful with those features stripped away.
Nevertheless I'll look into it before I'll give my final say, maybe it's something for down the road.
Hi @jarvelov, first of all, thanks for the great library! Currently vue-form-json-schema itself is quite small, but it depends on ajv whose bundle size is quite large, is there a way to make this dependency optional if we don't use any of the validation logic?