We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0a4c6 commit a9b9f60Copy full SHA for a9b9f60
src/vfjs-global-mixin/methods/vfjs-validation/getters.js
@@ -18,7 +18,7 @@ const vfjsValidationGetters = {
18
if (error.keyword === 'required') {
19
if (error.params && error.params.missingProperty) {
20
const key = error.params.missingProperty;
21
- const parent = String(error.dataPath).substr(1);
+ const parent = String(error.dataPath).substr(1).replace(/\//g, '.');
22
const propertyPath = parent ? `${parent}.${key}` : key;
23
24
if (required.indexOf(propertyPath) === -1) {
0 commit comments