Closed mvandenburgh closed 1 year ago
I would also be interested in a fix for this. Thanks!
A fix similar to this one is probably required : https://github.com/koumoul-dev/vuetify-jsonschema-form/commit/effa0c25cf77371bd4b5a13c3e20ac5e77823d1a
Thanks for the tip @albanm! I'll look into implementing a fix like that.
Given the following (abbreviated) sub-schema for an array of
Person
s:Note that the
url
field is notrequired
. However, if the user starts typing something into theurl
field and then deletes it, vjsf will report the input as invalid due to theminLength
being 1. I don't think this is the correct behavior; sinceurl
is not arequired
field, an emptyurl
input should be valid.MVCE: https://codepen.io/mvandenburgh/pen/WNjzGdw
GIF reproducing the bug:![vjsf](https://user-images.githubusercontent.com/37340715/208504042-92cb71a1-14eb-4ac0-ae23-48d65623ac38.gif)