Skip to content

Commit dcd8c16

Browse files
committed
5.2.6
1 parent 05fd86e commit dcd8c16

File tree

17 files changed

+54
-25
lines changed

17 files changed

+54
-25
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,5 +162,5 @@
162162
},
163163
"minimum-stability": "dev",
164164
"prefer-stable": true,
165-
"version": "5.2.5"
165+
"version": "5.2.6"
166166
}

public/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"/app.js": "/app.js?id=b857d5654171bf2bc52af06dc8eb5772",
2+
"/app.js": "/app.js?id=05fa52d8f78428018aaa33e41ef722d9",
33
"/ui.js": "/ui.js?id=592866a715b1c20b43fff6ca7980b279",
44
"/manifest.js": "/manifest.js?id=3267e5c99fd7b729e2f38ec55b50397d",
5-
"/app.css": "/app.css?id=e6e32c23966698900f862c22cfc1651d",
6-
"/vendor.js": "/vendor.js?id=555c263ac13aeaaebf547d2e8fe6a894",
5+
"/app.css": "/app.css?id=6e65850ccef9787f521955e9d231a2b2",
6+
"/vendor.js": "/vendor.js?id=247e20ae42435cf6529d2a857815a05c",
77
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2?id=c8390e146be0a3c8a5498355dec892ae",
88
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2?id=b0735c7dd6126471acbaf9d6e9f5e41a",
99
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2?id=7c1fb232e3050e36dcc1aee61f1d0c06",

public/vendor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/fields/Form/MorphToField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export default {
311311
},
312312
313313
onSyncedField() {
314-
if (this.resourceType !== this.currentField.morphToType) {
314+
if (this.resourceType !== this.currentField.resourceName) {
315315
this.refreshResourcesForTypeChange(this.currentField.morphToType)
316316
}
317317
},

resources/js/mixins/DependentFormField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default {
114114
*/
115115
fillIfVisible(formData, attribute, value) {
116116
if (this.currentlyIsVisible) {
117-
formData.append(attribute, value)
117+
this.fillInto(formData, attribute, value)
118118
}
119119
},
120120

resources/js/mixins/FormField.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@ export default {
7575
this.fillIfVisible(formData, this.fieldAttribute, String(this.value))
7676
},
7777

78+
/**
79+
* Provide a function to fills FormData when field.
80+
*
81+
* @param {FormData} formData
82+
* @param {string} attribute
83+
* @param {any} value
84+
*/
85+
fillInto(formData, attribute, value) {
86+
formData.append(attribute, value)
87+
},
88+
7889
/**
7990
* Provide a function to fills FormData when field is visible.
8091
*
@@ -84,7 +95,7 @@ export default {
8495
*/
8596
fillIfVisible(formData, attribute, value) {
8697
if (this.isVisible) {
87-
formData.append(attribute, value)
98+
this.fillInto(formData, attribute, value)
8899
}
89100
},
90101

src/Console/asset-stubs/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"license": "MIT",
99
"require": {
1010
"php": "^8.1",
11-
"illuminate/support": "^10.0|^11.0"
11+
"illuminate/support": "^10.0|^11.0|^12.0"
1212
},
1313
"require-dev": {
1414
"laravel/nova": "^5.0",
15-
"laravel/nova-devtool": "^1.5"
15+
"laravel/nova-devtool": "^1.6"
1616
},
1717
"repositories": [
1818
{ "type": "composer", "url": "https://nova.laravel.com" }

src/Console/card-stubs/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"license": "MIT",
99
"require": {
1010
"php": "^8.1",
11-
"illuminate/support": "^10.0|^11.0"
11+
"illuminate/support": "^10.0|^11.0|^12.0"
1212
},
1313
"require-dev": {
1414
"laravel/nova": "^5.0",
15-
"laravel/nova-devtool": "^1.5"
15+
"laravel/nova-devtool": "^1.6"
1616
},
1717
"repositories": [
1818
{ "type": "composer", "url": "https://nova.laravel.com" }

0 commit comments

Comments
 (0)