You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/LiveComponent/assets/dist/live_controller.js
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1107,7 +1107,7 @@ class default_1 extends Controller {
1107
1107
});
1108
1108
}
1109
1109
$render(){
1110
-
this._makeRequest(null);
1110
+
this._makeRequest(null,{});
1111
1111
}
1112
1112
_getValueFromElement(element){
1113
1113
returnelement.dataset.value||element.value;
@@ -1121,17 +1121,18 @@ class default_1 extends Controller {
1121
1121
constclonedElement=cloneHTMLElement(element);
1122
1122
thrownewError(`The update() method could not be called for "${clonedElement.outerHTML}": the element must either have a "data-model" or "name" attribute set to the model name.`);
0 commit comments