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
if(kind==="a"&&!f)thrownewTypeError("Private accessor was defined without a getter");
21
-
if(typeofstate==="function" ? receiver!==state||!f : !state.has(receiver))thrownewTypeError("Cannot read private member from an object whose class did not declare it");
22
-
returnkind==="m" ? f : kind==="a" ? f.call(receiver) : f ? f.value : state.get(receiver);
if(kind==="a"&&!f)thrownewTypeError("Private accessor was defined without a getter");
21
+
if(typeofstate==="function" ? receiver!==state||!f : !state.has(receiver))thrownewTypeError("Cannot read private member from an object whose class did not declare it");
22
+
returnkind==="m" ? f : kind==="a" ? f.call(receiver) : f ? f.value : state.get(receiver);
@@ -1249,6 +1249,9 @@ class default_1 extends Controller {
1249
1249
}
1250
1250
}
1251
1251
update(event){
1252
+
if(event.type==='input'||event.type==='change'){
1253
+
thrownewError(`Since LiveComponents 2.3, you no longer need data-action="live#update" on form elements. Found on element: ${getElementAsTagText(event.target)}`);
1254
+
}
1252
1255
this._updateModelFromElement(event.target,null);
1253
1256
}
1254
1257
action(event){
@@ -1274,7 +1277,7 @@ class default_1 extends Controller {
0 commit comments