I use this Vue Component on a project and continually get Vue warnings clogging my console when passing anything but an object to modelRoot (in my case, an array). However, the component works fine, and it seems to me that modelRoot should allow any supported data type, since that's how JSON Schema operates.
I've also included a linting fix, since I was getting errors thrown when I tried npm run prepublish.
I use this Vue Component on a project and continually get Vue warnings clogging my console when passing anything but an object to
modelRoot
(in my case, an array). However, the component works fine, and it seems to me thatmodelRoot
should allow any supported data type, since that's how JSON Schema operates.I've also included a linting fix, since I was getting errors thrown when I tried
npm run prepublish
.