0.4.1
This commit is contained in:
parent
397fee45a3
commit
57075b2b75
8
dist/formulario.esm.js
vendored
8
dist/formulario.esm.js
vendored
@ -757,10 +757,14 @@ class ErrorObserverRegistry {
|
||||
observer.callback(errors);
|
||||
}
|
||||
else if (observer.field &&
|
||||
!Array.isArray(errors) &&
|
||||
has(errors, observer.field)) {
|
||||
!Array.isArray(errors)) {
|
||||
if (has(errors, observer.field)) {
|
||||
observer.callback(errors[observer.field]);
|
||||
}
|
||||
else {
|
||||
observer.callback([]);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
2
dist/formulario.min.js
vendored
2
dist/formulario.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/formulario.umd.js
vendored
8
dist/formulario.umd.js
vendored
@ -762,10 +762,14 @@
|
||||
observer.callback(errors);
|
||||
}
|
||||
else if (observer.field &&
|
||||
!Array.isArray(errors) &&
|
||||
has(errors, observer.field)) {
|
||||
!Array.isArray(errors)) {
|
||||
if (has(errors, observer.field)) {
|
||||
observer.callback(errors[observer.field]);
|
||||
}
|
||||
else {
|
||||
observer.callback([]);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@retailcrm/vue-formulario",
|
||||
"version": "0.4.0",
|
||||
"version": "0.4.1",
|
||||
"author": "RetailDriverLLC <integration@retailcrm.ru>",
|
||||
"scripts": {
|
||||
"build": "npm run build:esm & npm run build:umd & npm run build:iife & wait && echo \"Build complete:\nesm: $(gzip -c dist/formulario.esm.js | wc -c)b gzip\numd: $(gzip -c dist/formulario.umd.js | wc -c)b gzip\nmin: $(gzip -c dist/formulario.min.js | wc -c)b gzip\"",
|
||||
|
Loading…
Reference in New Issue
Block a user