@dskripchenko/laravel-admin 1.15.2 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/envelope.d.ts +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/stores/resourceForm.d.ts +1 -1
- package/dist/stores/screen.d.ts +1 -1
- package/package.json +169 -169
package/dist/index.mjs
CHANGED
|
@@ -19756,7 +19756,7 @@ class Z2 extends Ze {
|
|
|
19756
19756
|
/** Field-keyed map of error messages. */
|
|
19757
19757
|
fields;
|
|
19758
19758
|
constructor(t) {
|
|
19759
|
-
super(422, t), this.name = "ValidationError", this.fields = t.messages ?? {};
|
|
19759
|
+
super(422, t), this.name = "ValidationError", this.fields = t.messages ?? t.errors ?? {};
|
|
19760
19760
|
}
|
|
19761
19761
|
/** Первое сообщение из field'а — удобно для toast. */
|
|
19762
19762
|
firstFieldMessage() {
|