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
538 stars 154 forks source link

Date-time validation fails with useValidator: true #413

Open yunic-nl opened 1 year ago

yunic-nl commented 1 year ago

Hi all,

Thanks for this awesome app. I think I found an issue with Ajv and schema format date, date-time and time. This only happens with you choose useValidator: true in option.

Codepen: https://codepen.io/Cyberjoi/pen/bGxmpzN

I tried to find an existing issue already, but found none. If duplicate please let me know. Many thanks in advance, for now I will turn off the useValidator

albanm commented 1 year ago

Hello,

It looks like a bug indeed. I have recently started working on the next major version (almost a total rewrite) and I spend as little time as possible on the current version. If it is ok I will let this problem sit in the meantime.

yunic-nl commented 1 year ago

Wow thanks for this super quick answer. Would be awesome if it is fixed next release. For now I can just turn off useValidator for this schema.

Your quick answer and reaction is much appreciated! Keep up the good work.