Open odion-cloud opened 1 week ago
I'll take a look at this
As per the testing I've been doing, it seems the current version of Vue 3 has a bug that only ignores validation if null
is the value. When not providing the props, its value is undefined
instead (which makes sense). What bugs me is that the default value doesn't seem to be used.
Looks like Vue 3 kinda forces you to use the composition API when writing components as defaults (or at the very least validation) don't work as they should.
Passing :config="null"
does get rid of the error, but nothing is being rendered which I'm currently debugging
In fact, passing null
skips validation and doesn't use the defaults... that's very odd
error [Vue warn]: Invalid prop: custom validator check failed for prop "config". at
my code