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.
2 parents ad6f2e3 + 4ad52e7 commit ca7f97eCopy full SHA for ca7f97e
src/resources/views/crud/inc/form_fields_script.blade.php
@@ -80,6 +80,7 @@ class CrudField {
80
if(this.isSubfield) {
81
window.crud.subfieldsCallbacks[this.parent.name] ??= [];
82
window.crud.subfieldsCallbacks[this.parent.name].push({ closure, field: this });
83
+ this.wrapper.trigger('CrudField:subfieldCallbacksUpdated');
84
return this;
85
}
86
@@ -95,7 +96,7 @@ class CrudField {
95
96
97
window.crud.subfieldsCallbacks[this.parent.name]?.forEach(callback => callback.triggerChange = true);
98
} else {
- this.$input.trigger(`change`);
99
+ this.$input.trigger('change');
100
101
102
0 commit comments