mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
updated with event.target as told
This commit is contained in:
+2
-2
@@ -79,7 +79,7 @@
|
||||
id={`key-${index}`}
|
||||
value={pref.key}
|
||||
on:input={(e) => {
|
||||
prefs[index].key = (e.target as HTMLInputElement).value;
|
||||
prefs[index].key = (e.currentTarget as HTMLInputElement).value;
|
||||
prefs = [...prefs];
|
||||
}}
|
||||
placeholder="Enter key"
|
||||
@@ -90,7 +90,7 @@
|
||||
id={`value-${index}`}
|
||||
value={pref.value}
|
||||
on:input={(e) => {
|
||||
prefs[index].value = (e.target as HTMLInputElement).value;
|
||||
prefs[index].value = (e.currentTarget as HTMLInputElement).value;
|
||||
prefs = [...prefs];
|
||||
}}
|
||||
placeholder="Enter value"
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
id={`key-${index}`}
|
||||
value={pref.key}
|
||||
on:input={(e) => {
|
||||
prefs[index].key = (e.target as HTMLInputElement).value;
|
||||
prefs[index].key = (e.currentTarget as HTMLInputElement).value;
|
||||
prefs = [...prefs];
|
||||
}}
|
||||
placeholder="Enter key"
|
||||
@@ -87,7 +87,7 @@
|
||||
id={`value-${index}`}
|
||||
value={pref.value}
|
||||
on:input={(e) => {
|
||||
prefs[index].value = (e.target as HTMLInputElement).value;
|
||||
prefs[index].value = (e.currentTarget as HTMLInputElement).value;
|
||||
prefs = [...prefs];
|
||||
}}
|
||||
placeholder="Enter value"
|
||||
|
||||
Reference in New Issue
Block a user